Skip to main content

Interface: AxiosRequestConfig<D>

internal.AxiosRequestConfig

Type parameters

NameType
Dany

Properties

adapter

Optional adapter: AxiosAdapter

Defined in

medusa-js/node_modules/axios/index.d.ts:75


auth

Optional auth: AxiosBasicCredentials

Defined in

medusa-js/node_modules/axios/index.d.ts:76


baseURL

Optional baseURL: string

Defined in

medusa-js/node_modules/axios/index.d.ts:65


cancelToken

Optional cancelToken: CancelToken

Defined in

medusa-js/node_modules/axios/index.d.ts:90


data

Optional data: D

Defined in

medusa-js/node_modules/axios/index.d.ts:71


decompress

Optional decompress: boolean

Defined in

medusa-js/node_modules/axios/index.d.ts:91


headers

Optional headers: AxiosRequestHeaders

Defined in

medusa-js/node_modules/axios/index.d.ts:68


httpAgent

Optional httpAgent: any

Defined in

medusa-js/node_modules/axios/index.d.ts:87


httpsAgent

Optional httpsAgent: any

Defined in

medusa-js/node_modules/axios/index.d.ts:88


insecureHTTPParser

Optional insecureHTTPParser: boolean

Defined in

medusa-js/node_modules/axios/index.d.ts:94


maxBodyLength

Optional maxBodyLength: number

Defined in

medusa-js/node_modules/axios/index.d.ts:84


maxContentLength

Optional maxContentLength: number

Defined in

medusa-js/node_modules/axios/index.d.ts:82


maxRedirects

Optional maxRedirects: number

Defined in

medusa-js/node_modules/axios/index.d.ts:85


method

Optional method: Method

Defined in

medusa-js/node_modules/axios/index.d.ts:64


onDownloadProgress

Optional onDownloadProgress: (progressEvent: any) => void

Type declaration

▸ (progressEvent): void

Parameters
NameType
progressEventany
Returns

void

Defined in

medusa-js/node_modules/axios/index.d.ts:81


onUploadProgress

Optional onUploadProgress: (progressEvent: any) => void

Type declaration

▸ (progressEvent): void

Parameters
NameType
progressEventany
Returns

void

Defined in

medusa-js/node_modules/axios/index.d.ts:80


params

Optional params: any

Defined in

medusa-js/node_modules/axios/index.d.ts:69


paramsSerializer

Optional paramsSerializer: (params: any) => string

Type declaration

▸ (params): string

Parameters
NameType
paramsany
Returns

string

Defined in

medusa-js/node_modules/axios/index.d.ts:70


proxy

Optional proxy: false | AxiosProxyConfig

Defined in

medusa-js/node_modules/axios/index.d.ts:89


raxConfig

Optional raxConfig: RetryConfig

Defined in

medusa-js/node_modules/retry-axios/dist/src/index.d.ts:89


responseType

Optional responseType: ResponseType

Defined in

medusa-js/node_modules/axios/index.d.ts:77


signal

Optional signal: AbortSignal

Defined in

medusa-js/node_modules/axios/index.d.ts:93


socketPath

Optional socketPath: null | string

Defined in

medusa-js/node_modules/axios/index.d.ts:86


timeout

Optional timeout: number

Defined in

medusa-js/node_modules/axios/index.d.ts:72


timeoutErrorMessage

Optional timeoutErrorMessage: string

Defined in

medusa-js/node_modules/axios/index.d.ts:73


transformRequest

Optional transformRequest: AxiosRequestTransformer | AxiosRequestTransformer[]

Defined in

medusa-js/node_modules/axios/index.d.ts:66


transformResponse

Optional transformResponse: AxiosResponseTransformer | AxiosResponseTransformer[]

Defined in

medusa-js/node_modules/axios/index.d.ts:67


transitional

Optional transitional: TransitionalOptions

Defined in

medusa-js/node_modules/axios/index.d.ts:92


url

Optional url: string

Defined in

medusa-js/node_modules/axios/index.d.ts:63


validateStatus

Optional validateStatus: null | (status: number) => boolean

Defined in

medusa-js/node_modules/axios/index.d.ts:83


withCredentials

Optional withCredentials: boolean

Defined in

medusa-js/node_modules/axios/index.d.ts:74


xsrfCookieName

Optional xsrfCookieName: string

Defined in

medusa-js/node_modules/axios/index.d.ts:78


xsrfHeaderName

Optional xsrfHeaderName: string

Defined in

medusa-js/node_modules/axios/index.d.ts:79