Move GTMSessionFetcher APIs to GRPCCallOptions (#26659)

pull/26678/head
yulin liang 3 years ago committed by GitHub
parent 5ae341b15f
commit 6730d93a3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      src/objective-c/GRPCClient/GRPCCallOptions.h

@ -201,6 +201,12 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property(readonly) NSUInteger channelOptionsHash;
// 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;
@end
/**
@ -301,12 +307,6 @@ 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