Polish channelID comments

pull/16190/head
Muxi Yan 6 years ago
parent 543fbf38c0
commit 6032e960d4
  1. 7
      src/objective-c/GRPCClient/GRPCCallOptions.h

@ -41,6 +41,7 @@ typedef NS_ENUM(NSInteger, GRPCCompressAlgorithm) {
// The transport to be used by a gRPC call // The transport to be used by a gRPC call
typedef NS_ENUM(NSInteger, GRPCTransportType) { typedef NS_ENUM(NSInteger, GRPCTransportType) {
GRPCTransportTypeDefault = 0,
// gRPC internal HTTP/2 stack with BoringSSL // gRPC internal HTTP/2 stack with BoringSSL
GRPCTransportTypeChttp2BoringSSL = 0, GRPCTransportTypeChttp2BoringSSL = 0,
// Cronet stack // Cronet stack
@ -180,8 +181,10 @@ typedef NS_ENUM(NSInteger, GRPCTransportType) {
@property(copy, readonly) NSString *channelPoolDomain; @property(copy, readonly) NSString *channelPoolDomain;
/** /**
* Channel id allows a call to force creating a new channel (connection) rather than using a cached * Channel id allows control of channel caching within a channelPoolDomain. A call with a unique
* channel. Calls using distinct channelID will not get cached to the same connection. * channelID will create a new channel (connection) instead of reusing an existing one. Multiple
* calls in the same channelPoolDomain using identical channelID are allowed to share connection
* if other channel options are also the same.
*/ */
@property(readonly) NSUInteger channelID; @property(readonly) NSUInteger channelID;

Loading…
Cancel
Save