Skip to content

Type Alias: FetchCustomOptions

FetchCustomOptions = object & FetchRetryOptions

Defined in: packages/fetch/src/types.ts:68

Custom fetch options (not used by built-in fetch()

Type Declaration

abortCtrl?

optional abortCtrl: AbortController

as?

optional as: FetchAs

Specify how the parse the result. To get raw response use FetchAs.response. Default: 'json'

body?

optional body: PostBody | () => PostBody

errMsgs?

optional errMsgs: FetchErrMsgs

interceptors?

optional interceptors: FetchInterceptors

timeout?

optional timeout: number

Request timeout in milliseconds.

validateUrl?

optional validateUrl: boolean