From 3f302c2c0496b19d84acf8ad4da1075c653bd2a6 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Mon, 11 Nov 2019 08:22:24 +0100 Subject: [PATCH] Improve ServerCallContext doc comments. --- src/csharp/Grpc.Core.Api/ServerCallContext.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/csharp/Grpc.Core.Api/ServerCallContext.cs b/src/csharp/Grpc.Core.Api/ServerCallContext.cs index 8d7dbf544d6..ece2e5a5b3c 100644 --- a/src/csharp/Grpc.Core.Api/ServerCallContext.cs +++ b/src/csharp/Grpc.Core.Api/ServerCallContext.cs @@ -66,13 +66,13 @@ namespace Grpc.Core /// Address of the remote endpoint in URI format. public string Peer => PeerCore; - /// Deadline for this RPC. + /// Deadline for this RPC. The call will be automatically cancelled once the deadline is exceeded. public DateTime Deadline => DeadlineCore; /// Initial metadata sent by client. public Metadata RequestHeaders => RequestHeadersCore; - /// Cancellation token signals when call is cancelled. + /// Cancellation token signals when call is cancelled. It is also triggered when the deadline is exceeeded or there was some other error (e.g. network problem). public CancellationToken CancellationToken => CancellationTokenCore; /// Trailers to send back to client after RPC finishes.