Interface AxiosDefaults<D>

Construct a type with the properties of T except for those in type K.

Type Parameters

  • D = any

Hierarchy

Properties

adapter?: AxiosAdapter
baseURL?: string
beforeRedirect?: ((options: Record<string, any>, responseDetails: {
    headers: Record<string, string>;
}) => void)

Type declaration

    • (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

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

formSerializer?: FormSerializerOptions
httpAgent?: any
httpsAgent?: any
insecureHTTPParser?: boolean
maxBodyLength?: number
maxContentLength?: number
maxRate?: number | [number, number]
maxRedirects?: number
method?: string
onDownloadProgress?: ((progressEvent: AxiosProgressEvent) => void)

Type declaration

onUploadProgress?: ((progressEvent: AxiosProgressEvent) => void)

Type declaration

params?: any
paramsSerializer?: ParamsSerializerOptions
proxy?: false | AxiosProxyConfig
responseEncoding?: string
responseType?: ResponseType
socketPath?: null | string
timeout?: number
timeoutErrorMessage?: string
transitional?: TransitionalOptions
url?: string
validateStatus?: null | ((status: number) => boolean)
withCredentials?: boolean
xsrfCookieName?: string
xsrfHeaderName?: string

Generated using TypeDoc v0.23.20