#import <GRPCChannelFactory.h>
Instance Methods | |
(nullable grpc_channel *) | - createChannelWithHost:channelArgs: |
A factory interface which generates new channel.
Definition at line 26 of file GRPCChannelFactory.h.
- (nullable grpc_channel *) createChannelWithHost: | (NSString *) | host | |
channelArgs: | (nullable NSDictionary *) | args | |
Create a channel with specific channel args to a specific host.
Reimplemented in GRPCSecureChannelFactory, GRPCCronetChannelFactory, and GRPCInsecureChannelFactory.