From 6730d93a3ac1f9bbfb6cef57fe12718779db352c Mon Sep 17 00:00:00 2001 From: yulin liang <64815511+yulin-liang@users.noreply.github.com> Date: Tue, 13 Jul 2021 13:52:37 -0700 Subject: [PATCH] Move GTMSessionFetcher APIs to GRPCCallOptions (#26659) --- src/objective-c/GRPCClient/GRPCCallOptions.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/objective-c/GRPCClient/GRPCCallOptions.h b/src/objective-c/GRPCClient/GRPCCallOptions.h index ea99f52d7d5..4224f45c04e 100644 --- a/src/objective-c/GRPCClient/GRPCCallOptions.h +++ b/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.