ClientConfigNetwork
Defined in: src/types/client.ts:51
Properties
Section titled “Properties”abortTimeoutMs?
Section titled “abortTimeoutMs?”optional abortTimeoutMs?: number;Defined in: src/types/client.ts:61
Request processing cutoff limit in milliseconds passed to AbortSignal.timeout().
Default Value
Section titled “Default Value”4000
retries?
Section titled “retries?”optional retries?: number;Defined in: src/types/client.ts:56
Total retry attempts allowed per request for enabled error types.
Default Value
Section titled “Default Value”2
retryStrategy?
Section titled “retryStrategy?”optional retryStrategy?: { onRateLimit?: boolean; onServiceOutage?: boolean; onTimeout?: boolean;};Defined in: src/types/client.ts:65
Specific failure types that trigger a retry attempt up to the max retries limit.
onRateLimit?
Section titled “onRateLimit?”optional onRateLimit?: boolean;Default Value
Section titled “Default Value”false
onServiceOutage?
Section titled “onServiceOutage?”optional onServiceOutage?: boolean;Default Value
Section titled “Default Value”false
onTimeout?
Section titled “onTimeout?”optional onTimeout?: boolean;Automatically retry when the request drops due to abortTimeoutMs.
Default Value
Section titled “Default Value”true