Optional
adapter
Optional
auth
Optional
baseURL
baseURL?: string
Optional
beforeRedirect
beforeRedirect?: ((options: Record<string, any>,
responseDetails: { headers: Record<string, string>; statusCode: HttpStatusCode; }) => void) Optional
cancelToken
Optional
data
Optional
decompress
decompress?: boolean
Optional
env
env?: {
FormData?: (new (...args: any[]) => object);
}
Optional
family
Optional
fetchOptions
fetchOptions?: Record<string, any> Optional
formSerializer
Optional
headers
Optional
httpAgent
httpAgent?: any
Optional
httpsAgent
httpsAgent?: any
Optional
insecureHTTPParser
insecureHTTPParser?: boolean
Optional
lookup
Optional
maxBodyLength
maxBodyLength?: number
Optional
maxContentLength
maxContentLength?: number
Optional
maxRate
maxRate?: number | [number, number]
Optional
maxRedirects
maxRedirects?: number
Optional
method
method?: string
Optional
onDownloadProgress
Optional
onUploadProgress
Optional
params
params?: any
Optional
paramsSerializer
Optional
proxy
Optional
responseEncoding
responseEncoding?: string
Optional
responseType
Optional
signal
Optional
socketPath
socketPath?: null | string
Optional
timeout
timeout?: number
Optional
timeoutErrorMessage
timeoutErrorMessage?: string
Optional
transformRequest
Optional
transformResponse
Optional
transitional
Optional
transport
transport?: any
Optional
url
url?: string
Optional
validateStatus
validateStatus?: null | ((status: number) => boolean)
Optional
withCredentials
withCredentials?: boolean
Optional
withXSRFToken
Optional
xsrfCookieName
xsrfCookieName?: string
Optional
xsrfHeaderName
xsrfHeaderName?: string