Skip to content

ClientConfigNetwork

Defined in: src/types/client.ts:51

optional abortTimeoutMs?: number;

Defined in: src/types/client.ts:61

Request processing cutoff limit in milliseconds passed to AbortSignal.timeout().

4000


optional retries?: number;

Defined in: src/types/client.ts:56

Total retry attempts allowed per request for enabled error types.

2


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.

optional onRateLimit?: boolean;

false

optional onServiceOutage?: boolean;

false

optional onTimeout?: boolean;

Automatically retry when the request drops due to abortTimeoutMs.

true