aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/ProtoRPC/ProtoRPC.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-19 09:51:42 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-19 09:51:42 -0700
commit9925c13b2710a313d489fd040f0d7f312af0f1fc (patch)
treed68ddfff771c9f60d46c9e047cb99fc000ed0e8d /src/objective-c/ProtoRPC/ProtoRPC.m
parent2a9efc3d1f0ddb42d0797dee5f82ca7abedc0936 (diff)
writeWithMessage->writeMessage
Diffstat (limited to 'src/objective-c/ProtoRPC/ProtoRPC.m')
-rw-r--r--src/objective-c/ProtoRPC/ProtoRPC.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoRPC.m b/src/objective-c/ProtoRPC/ProtoRPC.m
index 238faa3343..b04b6aca67 100644
--- a/src/objective-c/ProtoRPC/ProtoRPC.m
+++ b/src/objective-c/ProtoRPC/ProtoRPC.m
@@ -41,7 +41,7 @@
responseHandler:handler
callOptions:callOptions
responseClass:responseClass];
- [_call writeWithMessage:message];
+ [_call writeMessage:message];
[_call finish];
}
return self;
@@ -132,7 +132,7 @@
});
}
-- (void)writeWithMessage:(GPBMessage *)message {
+- (void)writeMessage:(GPBMessage *)message {
if (![message isKindOfClass:[GPBMessage class]]) {
[NSException raise:NSInvalidArgumentException format:@"Data must be a valid protobuf type."];
}