Base Extra Options Options that can be passed to the createFetchClient function
This page documents the configuration options specific to createFetchClient. These options define the base behavior for all requests made with the created client instance.
onRequest?array | function
onRequestError?array | function
onRequestReady?array | function
onRequestStream?array | function
onResponse?array | function
onResponseError?array | function
onResponseStream?array | function
onSuccess?array | function
onValidationError?array | function
dedupeCacheScope?"local" | "global"
dedupeCacheScopeKey?function | " default " | AnyString
dedupeKey?function | string
dedupeStrategy?function | " none " | " defer " | " cancel "
hooksExecutionMode?"sequential" | "parallel"
resultMode?"withoutResponse" | "onlyResponse" | "onlyData" | "all" | null
retryCondition?RetryCondition < unknown >
retryDelay?function | number
retryStrategy?"linear" | "exponential"
throwOnError?function | boolean
params?array | Record < string, boolean | number | string >
query?object | Record < string, boolean | number | string >
defaultHTTPErrorMessage?function | string
forcefullyCalculateRequestStreamSize?boolean
responseParser?ResponseParser < unknown >
responseType?"text" | "stream" | "json" | "formData" | "blob" | "arrayBuffer" | null
plugins?DefaultPluginArray
schema?BaseCallApiSchemaAndConfig
skipAutoMergeFor?"request" | "options" | "all"
Edit on GitHubLast updated on