19 #import <Foundation/Foundation.h>
23 NS_ASSUME_NONNULL_BEGIN
48 @property(readonly) NSTimeInterval
timeout;
383 NS_ASSUME_NONNULL_END
char *_Nonnull GRPCTransportID
The id of a transport implementation.
Definition: GRPCTypes.h:181
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:130
NSTimeInterval connectMaxBackoff
Definition: GRPCCallOptions.h:131
NSString * userAgentSuffix
Custom string that is suffixed to a request's user-agent header field after gRPC's internal user-agen...
Definition: GRPCCallOptions.h:98
NSArray< id< GRPCInterceptorFactory > > * interceptorFactories
An array of interceptor factories.
Definition: GRPCCallOptions.h:64
NSTimeInterval keepaliveInterval
Definition: GRPCCallOptions.h:123
NSUInteger channelOptionsHash
Hash for channel options.
Definition: GRPCCallOptions.h:202
NSString * PEMCertificateChain
PEM format certificate chain for client authentication, if required by the server.
Definition: GRPCCallOptions.h:155
GRPCTransportID transport
The transport to be used for this call.
Definition: GRPCCallOptions.h:173
NSString * hostNameOverride
Override the hostname during the TLS hostname validation process.
Definition: GRPCCallOptions.h:178
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:117
NSString * PEMRootCertificates
PEM format root certifications that is trusted.
Definition: GRPCCallOptions.h:145
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:110
NSTimeInterval keepaliveTimeout
Definition: GRPCCallOptions.h:124
GRPCTransportType transportType
Deprecated: this option is deprecated.
Definition: GRPCCallOptions.h:163
NSDictionary * additionalChannelArgs
Specify channel args to be used for this call.
Definition: GRPCCallOptions.h:137
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:104
NSString * PEMPrivateKey
PEM format private key for client authentication, if required by the server.
Definition: GRPCCallOptions.h:150
NSTimeInterval connectMinTimeout
Definition: GRPCCallOptions.h:129
NSUInteger channelID
Channel id allows control of channel caching within a channelPoolDomain.
Definition: GRPCCallOptions.h:192
NSString * channelPoolDomain
A string that specify the domain where channel is being cached.
Definition: GRPCCallOptions.h:184
Mutable user configurable options for a gRPC call.
Definition: GRPCCallOptions.h:209
An interceptor factory object is used to create interceptor object for the call at the call start tim...
Definition: GRPCInterceptor.h:164