diff options
author | Makarand Dharmapurikar <makarandd@google.com> | 2016-06-07 13:40:36 -0700 |
---|---|---|
committer | Makarand Dharmapurikar <makarandd@google.com> | 2016-06-07 13:40:36 -0700 |
commit | b43bda43ec86607449e446de37c4d357a437589c (patch) | |
tree | 7798fbafd9421a078f1a7a1bc71ccc2cf7a8ec87 /src/objective-c/ProtoRPC/ProtoRPC.h | |
parent | 5cdc9b9181b990a29cffaf797e3396d25017cd1e (diff) |
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoRPC.h b/src/objective-c/ProtoRPC/ProtoRPC.h index bd926b7328..642b8890ff 100644 --- a/src/objective-c/ProtoRPC/ProtoRPC.h +++ b/src/objective-c/ProtoRPC/ProtoRPC.h @@ -38,6 +38,10 @@ @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:(ProtoMethod *)method requestsWriter:(GRXWriter *)requestsWriter |