Properties
Optional adapter
adapter?: AxiosAdapter
Optional auth
auth?: AxiosBasicCredentials
Optional baseURL
baseURL?: string
Optional cancelToken
cancelToken?: CancelToken
Optional decompress
decompress?: boolean
Optional env
env?: { FormData?: new (...args: any[]) => object }
Type declaration
Optional FormData?: new (...args: any[]) => object
- new (...args: any[]): object
Optional follows
follows?: string[]
Optional formSerializer
formSerializer?: FormSerializerOptions
Optional headers
headers?: Partial<AxiosHeaders & MethodsHeaders & CommonHeaders>
Optional httpAgent
httpAgent?: any
Optional httpsAgent
httpsAgent?: any
Optional insecureHTTPParser
insecureHTTPParser?: boolean
Optional maxBodyLength
maxBodyLength?: number
Optional maxContentLength
maxContentLength?: number
Optional maxRedirects
maxRedirects?: number
Optional method
method?: string
Optional params
params?: any
Optional paramsSerializer
paramsSerializer?: ParamsSerializerOptions | CustomParamsSerializer
Optional proxy
proxy?: false | AxiosProxyConfig
Optional responseEncoding
responseEncoding?: string
Optional responseType
responseType?: ResponseType
Optional signal
signal?: GenericAbortSignal
Optional socketPath
socketPath?: null | string
Optional templates
templates?: {}
Optional timeout
timeout?: number
Optional timeoutErrorMessage
timeoutErrorMessage?: string
Optional transformRequest
transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[]
Optional transformResponse
transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[]
Optional transitional
transitional?: TransitionalOptions
Optional validateStatus
validateStatus?: null | ((status: number) => boolean)
Optional withCredentials
withCredentials?: boolean
Optional withXSRFToken
withXSRFToken?: boolean | ((config: AxiosRequestConfig<any>) => undefined | boolean)
Optional xsrfCookieName
xsrfCookieName?: string
Optional xsrfHeaderName
xsrfHeaderName?: string