aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Makarand Dharmapurikar <makarandd@google.com>2016-06-27 13:40:50 -0700
committerGravatar Makarand Dharmapurikar <makarandd@google.com>2016-06-27 13:40:50 -0700
commitfc5f505a334c9ff4f58057cd51ed3bcf0b9b775c (patch)
treed2f6da6cc84b4ee2a67e5df7846c07ea4e5e9a2c /src
parentfb39f1d6dc78a1a43b675a89f28f6d9e0e1a8e8d (diff)
fixes #7051
Changed return type to GRPCCall * from ProtoRPC *
Diffstat (limited to 'src')
-rw-r--r--src/objective-c/ProtoRPC/ProtoService.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoService.m b/src/objective-c/ProtoRPC/ProtoService.m
index 9740190851..0a7f56b03f 100644
--- a/src/objective-c/ProtoRPC/ProtoService.m
+++ b/src/objective-c/ProtoRPC/ProtoService.m
@@ -65,14 +65,14 @@
return self;
}
-- (ProtoRPC *)RPCToMethod:(NSString *)method
+- (GRPCProtoCall *)RPCToMethod:(NSString *)method
requestsWriter:(GRXWriter *)requestsWriter
responseClass:(Class)responseClass
responsesWriteable:(id<GRXWriteable>)responsesWriteable {
GRPCProtoMethod *methodName = [[GRPCProtoMethod alloc] initWithPackage:_packageName
service:_serviceName
method:method];
- return [[ProtoRPC alloc] initWithHost:_host
+ return [[GRPCProtoCall alloc] initWithHost:_host
method:methodName
requestsWriter:requestsWriter
responseClass:responseClass