Changed return type to GRPCCall * from ProtoRPC *
pull/7087/head
Makarand Dharmapurikar 9 years ago
parent fb39f1d6dc
commit fc5f505a33
  1. 4
      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

Loading…
Cancel
Save