aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-20 10:03:59 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-20 10:03:59 -0700
commitdcf5f1ff384da2cf0dd6b38bb9062caed58e35c0 (patch)
tree21670108f20c1aa20b2f7b7d814769f1dfefa748
parentef830758cc90924e9fdd5be6a451774fad326db0 (diff)
Comments to GRPCChannelFactory
-rw-r--r--src/objective-c/GRPCClient/private/GRPCChannelFactory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCChannelFactory.h b/src/objective-c/GRPCClient/private/GRPCChannelFactory.h
index 492145da80..14dc7079ba 100644
--- a/src/objective-c/GRPCClient/private/GRPCChannelFactory.h
+++ b/src/objective-c/GRPCClient/private/GRPCChannelFactory.h
@@ -22,8 +22,10 @@
NS_ASSUME_NONNULL_BEGIN
+/** A factory interface which generates new channel. */
@protocol GRPCChannelFactory
+ /** Create a channel with specific channel args to a specific host. */
- (nullable grpc_channel *)createChannelWithHost:(NSString *)host
channelArgs:(nullable NSDictionary *)args;