aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/ProtoRPC/ProtoRPC.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/objective-c/ProtoRPC/ProtoRPC.h')
-rw-r--r--src/objective-c/ProtoRPC/ProtoRPC.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoRPC.h b/src/objective-c/ProtoRPC/ProtoRPC.h
index 2623aecb82..949f52d1b5 100644
--- a/src/objective-c/ProtoRPC/ProtoRPC.h
+++ b/src/objective-c/ProtoRPC/ProtoRPC.h
@@ -77,6 +77,11 @@ NS_ASSUME_NONNULL_BEGIN
responseClass:(Class)responseClass NS_DESIGNATED_INITIALIZER;
/**
+ * Start the call. This function must only be called once for each instance.
+ */
+- (void)start;
+
+/**
* 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.
@@ -102,6 +107,11 @@ NS_ASSUME_NONNULL_BEGIN
responseClass:(Class)responseClass NS_DESIGNATED_INITIALIZER;
/**
+ * Start the call. This function must only be called once for each instance.
+ */
+- (void)start;
+
+/**
* 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.