Support passing retry parameters via gRPC callOptions to GTMSessionFetcher transport. (#26564)

pull/26586/head
yulin liang 3 years ago committed by GitHub
parent 34bf26357b
commit 36265647a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/objective-c/GRPCClient/GRPCCallOptions.h

@ -301,6 +301,12 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property(readwrite) BOOL retryEnabled;
// Parameters for GTMSessionFetcher transport retry policy. This is only for internal users.
@property(atomic, assign) NSTimeInterval maxRetryInterval;
@property(atomic, assign) NSTimeInterval minRetryInterval;
@property(atomic, assign) NSUInteger retryCount;
@property(atomic, assign) double retryFactor;
// HTTP/2 keep-alive feature. The parameter \a keepaliveInterval specifies the interval between two
// PING frames. The parameter \a keepaliveTimeout specifies the length of the period for which the
// call should wait for PING ACK. If PING ACK is not received after this period, the call fails.

Loading…
Cancel
Save