Options
All
  • Public
  • Public/Protected
  • All
Menu

Type Parameters

  • D = any

Hierarchy

  • AxiosRequestConfig

Index

Properties

adapter?: AxiosAdapter
baseURL?: string
cancelToken?: CancelToken
data?: D
decompress?: boolean
env?: { FormData?: (new (...args: any[]) => object) }

Type declaration

  • Optional FormData?: (new (...args: any[]) => object)
      • new (...args: any[]): object
      • Parameters

        • Rest ...args: any[]

        Returns object

httpAgent?: any
httpsAgent?: any
insecureHTTPParser?: boolean
maxBodyLength?: number
maxContentLength?: number
maxRedirects?: number
method?: string
params?: any
proxy?: false | AxiosProxyConfig
responseEncoding?: string
responseType?: ResponseType
signal?: AbortSignal
socketPath?: string
timeout?: number
timeoutErrorMessage?: string
transitional?: TransitionalOptions
url?: string
validateStatus?: ((status: number) => boolean)

Type declaration

    • (status: number): boolean
    • Parameters

      • status: number

      Returns boolean

withCredentials?: boolean
xsrfCookieName?: string
xsrfHeaderName?: string

Methods

  • beforeRedirect(options: Record<string, any>, responseDetails: { headers: Record<string, string> }): void
  • Parameters

    • options: Record<string, any>
    • responseDetails: { headers: Record<string, string> }
      • headers: Record<string, string>

    Returns void

  • onDownloadProgress(progressEvent: any): void
  • Parameters

    • progressEvent: any

    Returns void

  • onUploadProgress(progressEvent: any): void
  • Parameters

    • progressEvent: any

    Returns void

  • paramsSerializer(params: any): string
  • Parameters

    • params: any

    Returns string