19 #import <Foundation/Foundation.h>
21 #include <grpc/grpc.h>
28 struct grpc_channel_credentials;
30 NS_ASSUME_NONNULL_BEGIN
43 @property(copy, readonly) NSString *
host;
57 - (nullable instancetype)initWithHost:(NSString *)host
74 - (nullable instancetype)initWithChannelConfiguration:
81 - (nullable grpc_call *)unmanagedCallWithPath:(NSString *)path
Immutable user configurable options for a gRPC call.
Definition: GRPCCallOptions.h:30
Signature for the channel.
Definition: GRPCChannel.h:36
NSDictionary * channelArgs
Acquire the dictionary of channel args with current configurations.
Definition: GRPCChannel.h:55
NSString * host
The host that this channel is connected to.
Definition: GRPCChannel.h:43
instancetype NS_UNAVAILABLE()
id< GRPCChannelFactory > channelFactory
Acquire the factory to generate a new channel with current configurations.
Definition: GRPCChannel.h:52
GRPCCallOptions * callOptions
Options of the corresponding call.
Definition: GRPCChannel.h:49
Each separate instance of this class represents at least one TCP connection to the provided host.
Definition: GRPCChannel.h:66
nullable instancetype NS_UNAVAILABLE()
This class lets one more easily use |grpc_completion_queue|.
Definition: GRPCCompletionQueue.h:36
A factory interface which generates new channel.
Definition: GRPCChannelFactory.h:26