AxiosRetryOptions
ts
type AxiosRetryOptions = object & Partial<AxiosRetryEvents>;Defined in: types.ts:68
Options to configure the retry behavior
Type Declaration
count
ts
count: number;Max count of retries, that'll be made
Default
3
Since
1.0.0
Author
Simon Kovtyk
delay
ts
delay: number;Delay between retries in relation to type
Default
3000 for linear and 1000 for exponential
Since
1.0.0
Author
Simon Kovtyk
type
ts
type: AxiosRetryOptionsType;Check AxiosRetryOptionsType
when
ts
when: number[] | AxiosRetryWhenFn;Array of HTTP status codes or AxiosRetryWhenFn to determine when a retry should happen.
Since
1.0.0
Author
Simon Kovtyk
Since
1.0.0
Author
Simon Kovtyk