Interface AxiosExtendRequestOptions<D>

Type Parameters

  • D = any

Hierarchy

  • AxiosRequestConfig<D>
    • AxiosExtendRequestOptions

Properties

adapter?: AxiosAdapter
auth?: AxiosBasicCredentials
axios-extend?: any
baseURL?: string
beforeRedirect?: ((options, responseDetails) => void)

Type declaration

    • (options, responseDetails): 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) => object);
}

Type declaration

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

        • Rest ...args: any[]

        Returns object

error?: boolean
headers?: AxiosRequestHeaders
httpAgent?: any
httpsAgent?: any
insecureHTTPParser?: boolean
maxBodyLength?: number
maxContentLength?: number
maxRedirects?: number
method?: string
onDownloadProgress?: ((progressEvent) => void)

Type declaration

    • (progressEvent): void
    • Parameters

      • progressEvent: any

      Returns void

onUploadProgress?: ((progressEvent) => void)

Type declaration

    • (progressEvent): void
    • Parameters

      • progressEvent: any

      Returns void

orderly?: boolean
params?: any
paramsSerializer?: ((params) => string)

Type declaration

    • (params): string
    • Parameters

      • params: any

      Returns string

proxy?: false | AxiosProxyConfig
requestOptions?: AxiosExtendRequestOptions<any>
responseEncoding?: string
responseType?: ResponseType
signal?: AbortSignal
socketPath?: null | string
timeout?: number
timeoutErrorMessage?: string
transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[]
transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[]
transitional?: TransitionalOptions
type?: string
unique?: boolean
url?: string
validateStatus?: null | ((status) => boolean)

Type declaration

    • (status): boolean
    • Parameters

      • status: number

      Returns boolean

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

Generated using TypeDoc