Properties
Optional adapter
adapter: AxiosAdapter
Optional auth
auth: AxiosBasicCredentials
Optional baseURL
baseURL: string
Optional cancelToken
cancelToken: CancelToken
Optional decompress
decompress: boolean
Optional headers
headers: any
Optional httpAgent
httpAgent: any
Optional httpsAgent
httpsAgent: any
Optional maxBodyLength
maxBodyLength: number
Optional maxContentLength
maxContentLength: number
Optional maxRedirects
maxRedirects: number
Optional method
method: Method
Optional onDownloadProgress
onDownloadProgress: (progressEvent: any) => void
Type declaration
-
- (progressEvent: any): void
Optional onUploadProgress
onUploadProgress: (progressEvent: any) => void
Type declaration
-
- (progressEvent: any): void
Optional paramsSerializer
paramsSerializer: (params: any) => string
Type declaration
-
-
Parameters
Returns string
Optional proxy
proxy: false | AxiosProxyConfig
Optional raxConfig
raxConfig: RetryConfig
Optional responseType
responseType: ResponseType
Optional socketPath
socketPath: string
Optional timeout
timeout: number
Optional timeoutErrorMessage
timeoutErrorMessage: string
Optional transformRequest
transformRequest: AxiosTransformer | AxiosTransformer[]
Optional transformResponse
transformResponse: AxiosTransformer | AxiosTransformer[]
Optional transitional
transitional: TransitionalOptions
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