19 #import <Foundation/Foundation.h>
23 NS_ASSUME_NONNULL_BEGIN
48 @property(readonly) NSTimeInterval
timeout;
371 NS_ASSUME_NONNULL_END
char *_Nonnull GRPCTransportID
The id of a transport implementation.
Definition: GRPCTypes.h:179
Immutable user configurable options for a gRPC call.
Definition: GRPCCallOptions.h:30
NSString * userAgentPrefix
Custom string that is prefixed to a request's user-agent header field before gRPC's internal user-age...
Definition: GRPCCallOptions.h:92
NSString * oauth2AccessToken
The OAuth2 access token string.
Definition: GRPCCallOptions.h:73
NSTimeInterval connectInitialBackoff
Definition: GRPCCallOptions.h:124
NSTimeInterval connectMaxBackoff
Definition: GRPCCallOptions.h:125
NSArray< id< GRPCInterceptorFactory > > * interceptorFactories
An array of interceptor factories.
Definition: GRPCCallOptions.h:64
NSTimeInterval keepaliveInterval
Definition: GRPCCallOptions.h:117
NSUInteger channelOptionsHash
Hash for channel options.
Definition: GRPCCallOptions.h:196
NSString * PEMCertificateChain
PEM format certificate chain for client authentication, if required by the server.
Definition: GRPCCallOptions.h:149
GRPCTransportID transport
The transport to be used for this call.
Definition: GRPCCallOptions.h:167
NSString * hostNameOverride
Override the hostname during the TLS hostname validation process.
Definition: GRPCCallOptions.h:172
BOOL flowControlEnabled
Enable flow control of a gRPC call.
Definition: GRPCCallOptions.h:56
BOOL retryEnabled
Enable/Disable gRPC call's retry feature.
Definition: GRPCCallOptions.h:111
NSString * PEMRootCertificates
PEM format root certifications that is trusted.
Definition: GRPCCallOptions.h:139
NSString * serverAuthority
The authority for the RPC.
Definition: GRPCCallOptions.h:41
GRPCCompressionAlgorithm compressionAlgorithm
The compression algorithm to be used by the gRPC call.
Definition: GRPCCallOptions.h:104
NSTimeInterval keepaliveTimeout
Definition: GRPCCallOptions.h:118
GRPCTransportType transportType
Deprecated: this option is deprecated.
Definition: GRPCCallOptions.h:157
NSDictionary * additionalChannelArgs
Specify channel args to be used for this call.
Definition: GRPCCallOptions.h:131
id< GRPCAuthorizationProtocol > authTokenProvider
The interface to get the OAuth2 access token string.
Definition: GRPCCallOptions.h:79
NSDictionary * initialMetadata
Initial metadata key-value pairs that should be included in the request.
Definition: GRPCCallOptions.h:84
NSTimeInterval timeout
The timeout for the RPC call in seconds.
Definition: GRPCCallOptions.h:48
NSUInteger responseSizeLimit
The size limit for the response received from server.
Definition: GRPCCallOptions.h:98
NSString * PEMPrivateKey
PEM format private key for client authentication, if required by the server.
Definition: GRPCCallOptions.h:144
NSTimeInterval connectMinTimeout
Definition: GRPCCallOptions.h:123
NSUInteger channelID
Channel id allows control of channel caching within a channelPoolDomain.
Definition: GRPCCallOptions.h:186
NSString * channelPoolDomain
A string that specify the domain where channel is being cached.
Definition: GRPCCallOptions.h:178
Mutable user configurable options for a gRPC call.
Definition: GRPCCallOptions.h:203
An interceptor factory object is used to create interceptor object for the call at the call start tim...
Definition: GRPCInterceptor.h:164