Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • D = any

Hierarchy

  • Omit<AxiosRequestConfig<D>, "headers">
    • RequestConfig

Index

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 headers

headers?: RequestHeaders

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

      • status: number

      Returns boolean

Optional withCredentials

withCredentials?: boolean

Optional xsrfCookieName

xsrfCookieName?: string

Optional xsrfHeaderName

xsrfHeaderName?: string

Methods

Optional onDownloadProgress

  • onDownloadProgress(progressEvent: any): void
  • Parameters

    • progressEvent: any

    Returns void

Optional onUploadProgress

  • onUploadProgress(progressEvent: any): void
  • Parameters

    • progressEvent: any

    Returns void

Optional paramsSerializer

  • paramsSerializer(params: any): string
  • Parameters

    • params: any

    Returns string