aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/ProtoRPC/ProtoRPC.h
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-06-08 14:34:30 -0700
committerGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-06-08 14:34:30 -0700
commitd861b13aff7481b4901ab012cfd51c5887b11a2e (patch)
treefb0f4230a2117e5e11fef9c261a854ae5929fc08 /src/objective-c/ProtoRPC/ProtoRPC.h
parent33028369bfe016f167c68211b342d73329ef9a9e (diff)
parent150e5025cb6535eb1387bdf7482f5f61243cdd71 (diff)
Merge pull request #6823 from makdharma/bugfixes
added comment about host parameter format (issue 4147)
Diffstat (limited to 'src/objective-c/ProtoRPC/ProtoRPC.h')
-rw-r--r--src/objective-c/ProtoRPC/ProtoRPC.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoRPC.h b/src/objective-c/ProtoRPC/ProtoRPC.h
index f22d731f68..5f91f6bce1 100644
--- a/src/objective-c/ProtoRPC/ProtoRPC.h
+++ b/src/objective-c/ProtoRPC/ProtoRPC.h
@@ -39,6 +39,10 @@
__attribute__((deprecated("Please use GRPCProtoCall.")))
@interface ProtoRPC : GRPCCall
+/**
+ * host parameter should not contain the scheme (http:// or https://), only the name or IP addr
+ * and the port number, for example @"localhost:5050".
+ */
- (instancetype)initWithHost:(NSString *)host
method:(GRPCProtoMethod *)method
requestsWriter:(GRXWriter *)requestsWriter