From 12855fc68201962311ba1474243809e2d3953964 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Mon, 24 Aug 2015 16:43:23 -0700 Subject: polishing public docs --- src/csharp/Grpc.Core/ServerCallContext.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/csharp/Grpc.Core/ServerCallContext.cs') diff --git a/src/csharp/Grpc.Core/ServerCallContext.cs b/src/csharp/Grpc.Core/ServerCallContext.cs index 75d81c64f3..09a6b882a6 100644 --- a/src/csharp/Grpc.Core/ServerCallContext.cs +++ b/src/csharp/Grpc.Core/ServerCallContext.cs @@ -72,6 +72,13 @@ namespace Grpc.Core this.writeOptionsHolder = writeOptionsHolder; } + /// + /// Asynchronously sends response headers for the current call to the client. This method may only be invoked once for each call and needs to be invoked + /// before any response messages are written. Writing the first response message implicitly sends empty response headers if WriteResponseHeadersAsync haven't + /// been called yet. + /// + /// The response headers to send. + /// The task that finished once response headers have been written. public Task WriteResponseHeadersAsync(Metadata responseHeaders) { return writeHeadersFunc(responseHeaders); @@ -186,6 +193,9 @@ namespace Grpc.Core /// public interface IHasWriteOptions { + /// + /// Gets or sets the write options. + /// WriteOptions WriteOptions { get; set; } } } -- cgit v1.2.3