polish cancel message of proto calls

pull/16190/head
Muxi Yan 6 years ago
parent 75f8727a3e
commit 2a9efc3d1f
  1. 12
      src/objective-c/ProtoRPC/ProtoRPC.h

@ -71,7 +71,11 @@
callOptions:(GRPCCallOptions *)callOptions
responseClass:(Class)responseClass NS_DESIGNATED_INITIALIZER;
/** Cancel the call at best effort. */
/**
* 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;
@end
@ -92,7 +96,11 @@
callOptions:(GRPCCallOptions *)callOptions
responseClass:(Class)responseClass NS_DESIGNATED_INITIALIZER;
/** Cancel the call at best effort. */
/**
* 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;
/**

Loading…
Cancel
Save