aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/GRPCCall.h
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-11-06 14:12:14 -0800
committerGravatar Muxi Yan <mxyan@google.com>2018-11-06 14:12:14 -0800
commit1be316e5641db3192a3f7b276e3926d8da17c62a (patch)
tree10b712c4e65f7a62800377fcc14729fc6cab1851 /src/objective-c/GRPCClient/GRPCCall.h
parentb3b98ba4a29f434541355e026765938998c22da4 (diff)
Remove check in cancel
Diffstat (limited to 'src/objective-c/GRPCClient/GRPCCall.h')
-rw-r--r--src/objective-c/GRPCClient/GRPCCall.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCall.h b/src/objective-c/GRPCClient/GRPCCall.h
index f713262b64..260305a989 100644
--- a/src/objective-c/GRPCClient/GRPCCall.h
+++ b/src/objective-c/GRPCClient/GRPCCall.h
@@ -244,8 +244,7 @@ extern NSString *const kGRPCTrailersKey;
responseHandler:(id<GRPCResponseHandler>)responseHandler;
/**
- * Starts the call. This function should only be called once; additional calls will be discarded.
- * Invokes after calling cancel: are discarded.
+ * Starts the call. This function must only be called once for each instance.
*/
- (void)start;
@@ -263,7 +262,7 @@ extern NSString *const kGRPCTrailersKey;
/**
* Finish the RPC request and half-close the call. The server may still send messages and/or
- * trailers to the client.
+ * trailers to the client. The method must only be called once and after start is called.
*/
- (void)finish;