19 #import <Foundation/Foundation.h> 21 #import <grpc/impl/codegen/compression_types.h> 27 NS_ASSUME_NONNULL_BEGIN
31 struct grpc_channel_credentials;
37 @property(nonatomic, readonly) NSString *
address;
60 + (nullable instancetype)hostWithAddress:(NSString *)address;
61 - (nullable instancetype)initWithAddress:(NSString *)address NS_DESIGNATED_INITIALIZER;
62 - (BOOL)setTLSPEMRootCerts:(nullable NSString *)pemRootCerts
63 withPrivateKey:(nullable NSString *)pemPrivateKey
64 withCertChain:(nullable NSString *)pemCertChain
65 error:(NSError **)errorPtr;
NSString * hostNameOverride
The following properties should only be modified for testing:
Definition: GRPCHost.h:53
NSString * address
Definition: GRPCHost.h:37
grpc_compression_algorithm compressAlgorithm
Definition: GRPCHost.h:39
unsigned int minConnectTimeout
Definition: GRPCHost.h:45
int keepaliveInterval
Definition: GRPCHost.h:40
This class lets one more easily use |grpc_completion_queue|.
Definition: GRPCCompletionQueue.h:35
NSUInteger responseSizeLimitOverride
The default response size limit is 4MB.
Definition: GRPCHost.h:56
int keepaliveTimeout
Definition: GRPCHost.h:41
Immutable user configurable options for a gRPC call.
Definition: GRPCCallOptions.h:30
BOOL retryEnabled
Definition: GRPCHost.h:43
GRPCTransportType transportType
Definition: GRPCHost.h:67
void resetAllHostSettings()
id logContext
Definition: GRPCHost.h:42
unsigned int initialConnectBackoff
Definition: GRPCHost.h:46
id< GRPCChannelFactory > channelFactory
Definition: GRPCHost.h:49
Definition: GRPCHost.h:33
NSString * userAgentPrefix
Definition: GRPCHost.h:38
unsigned int maxConnectBackoff
Definition: GRPCHost.h:47
nullable instancetype NS_UNAVAILABLE()