diff options
author | Muxi Yan <mxyan@google.com> | 2018-04-25 18:16:21 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2018-04-25 18:16:21 -0700 |
commit | bf0b8798d6de1023f7a9b7a5539fefa58f4d47bb (patch) | |
tree | 09103759557b0fbc20a4093f1ac4d80c792c865d /src/objective-c | |
parent | de07d322a2adedbacac1d3cbe150137704f16191 (diff) |
Provide protocol for generics
Diffstat (limited to 'src/objective-c')
-rw-r--r-- | src/objective-c/ProtoRPC/ProtoService.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoService.h b/src/objective-c/ProtoRPC/ProtoService.h index 29c4e9be36..c411bed60f 100644 --- a/src/objective-c/ProtoRPC/ProtoService.h +++ b/src/objective-c/ProtoRPC/ProtoService.h @@ -22,6 +22,12 @@ @protocol GRXWriteable; @class GRXWriter; +@protocol GRPCProtoServiceInit + +- (instancetype)initWithHost:(NSString *)host; + +@end + __attribute__((deprecated("Please use GRPCProtoService."))) @interface ProtoService : NSObject - (instancetype)initWithHost : (NSString *)host packageName |