diff options
author | Muxi Yan <mxyan@google.com> | 2018-10-10 18:09:01 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2018-10-10 18:09:01 -0700 |
commit | 50dac6721425b225e3e031251c7eb888ec61f07e (patch) | |
tree | 001513ea9c14ed9fe1dc397f8a417cf84c5e633f /src/objective-c/GRPCClient/GRPCCall.h | |
parent | fe8a899b631b3fd804b59ca32639ef2a14bb597f (diff) |
Update GRPCCall2:cancel: docs
Diffstat (limited to 'src/objective-c/GRPCClient/GRPCCall.h')
-rw-r--r-- | src/objective-c/GRPCClient/GRPCCall.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCall.h b/src/objective-c/GRPCClient/GRPCCall.h index c8f3919a63..354bdb7cfa 100644 --- a/src/objective-c/GRPCClient/GRPCCall.h +++ b/src/objective-c/GRPCClient/GRPCCall.h @@ -240,9 +240,9 @@ extern id const kGRPCTrailersKey; - (void)start; /** - * Cancel the request of this call at best effort; notifies the server that the RPC should be - * cancelled, and issue callback to the user with an error code CANCELED if the call is not - * finished. + * Cancel the request of this call at best effort. It attempts to notify the server that the RPC + * should be cancelled, and issue closedWithTrailingMetadata:error: callback with error code + * CANCELED if no other error code has already been issued. */ - (void)cancel; |