Properties
Optional adapter
adapter?: AxiosAdapter
Optional auth
auth?: AxiosBasicCredentials
Optional baseURL
baseURL?: string
Optional cancelToken
cancelToken?: CancelToken
Optional data
data?: D
Optional decompress
decompress?: boolean
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?: Method
Optional params
params?: any
Optional proxy
proxy?: false | AxiosProxyConfig
Optional responseType
responseType?: ResponseType
Optional signal
signal?: AbortSignal
Optional socketPath
socketPath?: string
Optional timeout
timeout?: number
Optional timeoutErrorMessage
timeoutErrorMessage?: string
Optional transformRequest
transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[]
Optional transformResponse
transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[]
Optional transitional
transitional?: TransitionalOptions
Optional url
url?: string
Optional validateStatus
validateStatus?: (status: number) => boolean
Type declaration
- (status: number): boolean
Parameters
Returns boolean
Optional withCredentials
withCredentials?: boolean
Optional xsrfCookieName
xsrfCookieName?: string
Optional xsrfHeaderName
xsrfHeaderName?: string