Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DvelopHttpRequestConfig<T>

Type parameters

  • T = any

Hierarchy

  • AxiosRequestConfig<T>
    • DvelopHttpRequestConfig

Index

Properties

adapter?: AxiosAdapter
auth?: AxiosBasicCredentials
baseURL?: string
cancelToken?: CancelToken
data?: T
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

follows?: string[]
formSerializer?: FormSerializerOptions
headers?: Partial<AxiosHeaders & MethodsHeaders & CommonHeaders>
httpAgent?: any
httpsAgent?: any
insecureHTTPParser?: boolean
maxBodyLength?: number
maxContentLength?: number
maxRedirects?: number
method?: string
params?: any
paramsSerializer?: ParamsSerializerOptions | CustomParamsSerializer
proxy?: false | AxiosProxyConfig
responseEncoding?: string
responseType?: ResponseType
signal?: GenericAbortSignal
socketPath?: null | string
templates?: {}

Type declaration

  • [key: string]: any
timeout?: number
timeoutErrorMessage?: string
transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[]
transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[]
transitional?: TransitionalOptions
url?: string
validateStatus?: null | ((status: number) => boolean)
withCredentials?: boolean
withXSRFToken?: boolean | ((config: AxiosRequestConfig<any>) => undefined | 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: ProgressEvent<EventTarget>): void
  • Parameters

    • progressEvent: ProgressEvent<EventTarget>

    Returns void

  • onUploadProgress(progressEvent: ProgressEvent<EventTarget>): void
  • Parameters

    • progressEvent: ProgressEvent<EventTarget>

    Returns void

Generated using TypeDoc