Update GRPCCall2:cancel: docs

pull/16190/head
Muxi Yan 6 years ago
parent fe8a899b63
commit 50dac67214
  1. 6
      src/objective-c/GRPCClient/GRPCCall.h

@ -240,9 +240,9 @@ extern id const kGRPCTrailersKey;
- (void)start; - (void)start;
/** /**
* Cancel the request of this call at best effort; notifies the server that the RPC should be * Cancel the request of this call at best effort. It attempts to notify the server that the RPC
* cancelled, and issue callback to the user with an error code CANCELED if the call is not * should be cancelled, and issue closedWithTrailingMetadata:error: callback with error code
* finished. * CANCELED if no other error code has already been issued.
*/ */
- (void)cancel; - (void)cancel;

Loading…
Cancel
Save