aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/ProtoRPC
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-12-06 12:42:27 -0800
committerGravatar Muxi Yan <mxyan@google.com>2018-12-06 12:51:24 -0800
commit76f1ec16e1880605215beb60a204b0cab7c36b2d (patch)
tree108a7fefb41921a7a9fbb9cd94e3334496ebeab2 /src/objective-c/ProtoRPC
parent70f34521deaeaf0d783f30d121fd26787135ac04 (diff)
sensible nullability annotation for old API
Diffstat (limited to 'src/objective-c/ProtoRPC')
-rw-r--r--src/objective-c/ProtoRPC/ProtoRPC.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoRPC.h b/src/objective-c/ProtoRPC/ProtoRPC.h
index 949f52d1b5..1819fa9379 100644
--- a/src/objective-c/ProtoRPC/ProtoRPC.h
+++ b/src/objective-c/ProtoRPC/ProtoRPC.h
@@ -142,11 +142,11 @@ __attribute__((deprecated("Please use GRPCProtoCall."))) @interface ProtoRPC
* addr and the port number, for example @"localhost:5050".
*/
-
- (nullable instancetype)initWithHost : (nullable NSString *)host method
- : (nullable GRPCProtoMethod *)method requestsWriter
- : (nullable GRXWriter *)requestsWriter responseClass
- : (nullable Class)responseClass responsesWriteable
- : (nullable id<GRXWriteable>)responsesWriteable NS_DESIGNATED_INITIALIZER;
+ (nullable instancetype)initWithHost : (nonnull NSString *)host method
+ : (nonnull GRPCProtoMethod *)method requestsWriter
+ : (nonnull GRXWriter *)requestsWriter responseClass
+ : (nonnull Class)responseClass responsesWriteable
+ : (nonnull id<GRXWriteable>)responsesWriteable NS_DESIGNATED_INITIALIZER;
- (void)start;
@end