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;
61 + (nullable instancetype)hostWithAddress:(NSString *)address;
62 - (nullable instancetype)initWithAddress:(NSString *)address NS_DESIGNATED_INITIALIZER;
63 - (BOOL)setTLSPEMRootCerts:(nullable NSString *)pemRootCerts
64 withPrivateKey:(nullable NSString *)pemPrivateKey
65 withCertChain:(nullable NSString *)pemCertChain
66 error:(NSError **)errorPtr;
Immutable user configurable options for a gRPC call.
Definition: GRPCCallOptions.h:30
This class lets one more easily use |grpc_completion_queue|.
Definition: GRPCCompletionQueue.h:36
Definition: GRPCHost.h:34
int keepaliveTimeout
Definition: GRPCHost.h:42
id logContext
Definition: GRPCHost.h:43
unsigned int maxConnectBackoff
Definition: GRPCHost.h:48
grpc_compression_algorithm compressAlgorithm
Definition: GRPCHost.h:40
id< GRPCChannelFactory > channelFactory
Definition: GRPCHost.h:50
NSString * address
Definition: GRPCHost.h:37
unsigned int initialConnectBackoff
Definition: GRPCHost.h:47
NSUInteger responseSizeLimitOverride
The default response size limit is 4MB.
Definition: GRPCHost.h:57
BOOL retryEnabled
Definition: GRPCHost.h:44
unsigned int minConnectTimeout
Definition: GRPCHost.h:46
GRPCTransportType transportType
Definition: GRPCHost.h:68
nullable instancetype NS_UNAVAILABLE()
void resetAllHostSettings()
int keepaliveInterval
Definition: GRPCHost.h:41
NSString * userAgentPrefix
Definition: GRPCHost.h:38
NSString * hostNameOverride
The following properties should only be modified for testing:
Definition: GRPCHost.h:54
NSString * userAgentSuffix
Definition: GRPCHost.h:39