Repository navigation
@142vip.axios.接口.CreateAxiosDefaults
API 参考 / @142vip/axios / CreateAxiosDefaults
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:483
-
Omit<AxiosRequestConfig<D>,"headers">
D = any
optionaladapter?:AxiosAdapterConfig|AxiosAdapterConfig[]
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:383
optionalallowAbsoluteUrls?:boolean
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:373
AxiosRequestConfig.allowAbsoluteUrls
optionalallowedSocketPaths?:string|string[] |null
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:409
AxiosRequestConfig.allowedSocketPaths
optionalauth?:AxiosBasicCredentials
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:384
optionalaxios-retry?:IAxiosRetryConfigExtended
定义于: node_modules/.pnpm/axios-retry@4.5.0_axios@1.17.0/node_modules/axios-retry/dist/cjs/index.d.ts:69
AxiosRequestConfig.axios-retry
optionalbaseURL?:string
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:372
optionalbeforeRedirect?: (options,responseDetails,requestDetails) =>void
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:396
Record<string, any>
Record<string, string>
HttpStatusCode
Record<string, string>
string
string
void
Omit.beforeRedirect
optionalcancelToken?:CancelToken
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:414
AxiosRequestConfig.cancelToken
optionaldata?:D
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:379
Omit.data
optionaldecompress?:boolean
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:415
optionalenv?:object
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:419
optionalfetch?: (input,init?) =>Promise<Response>
string | URL | Request
RequestInit
Promise<Response>
optionalFormData?: (...args) =>object
...any[]
object
optionalRequest?: (input,init?) =>Request
string | URL | Request
RequestInit
Request
optionalResponse?: (body?,init?) =>Response
string | Blob | ArrayBuffer | FormData | URLSearchParams | ArrayBufferView<ArrayBufferLike> | null
ResponseInit
Response
Omit.env
optionalfamily?:AddressFamily
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:429
optionalfetchOptions?:Omit<RequestInit,"headers"|"method"|"signal"|"body"> |Record<string,any>
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:448
AxiosRequestConfig.fetchOptions
optionalformDataHeaderPolicy?:"legacy"|"content-only"
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:453
AxiosRequestConfig.formDataHeaderPolicy
optionalformSerializer?:FormSerializerOptions
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:428
AxiosRequestConfig.formSerializer
optionalheaders?:AxiosHeaders|Partial<HeadersDefaults> |Partial<RawAxiosHeaders&object&object>
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:484
optionalhttp2Options?:Record<string,any> &object
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:450
optionalsessionTimeout?:number
Omit.http2Options
optionalhttpAgent?:any
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:411
optionalhttpsAgent?:any
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:412
optionalhttpVersion?:2|1
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:449
AxiosRequestConfig.httpVersion
optionalinsecureHTTPParser?:boolean
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:418
AxiosRequestConfig.insecureHTTPParser
optionallookup?: ((hostname,options,cb) =>void) | ((hostname,options) =>Promise<LookupAddress| [LookupAddressEntry|LookupAddressEntry[],AddressFamily]>)
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:430
Omit.lookup
optionalmaxBodyLength?:number
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:393
AxiosRequestConfig.maxBodyLength
optionalmaxContentLength?:number
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:391
AxiosRequestConfig.maxContentLength
optionalmaxRate?:number| [number,number]
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:395
optionalmaxRedirects?:number
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:394
AxiosRequestConfig.maxRedirects
optionalmethod?:StringLiteralsOrString<Method>
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:371
optionalonDownloadProgress?: (progressEvent) =>void
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:390
AxiosProgressEvent
void
Omit.onDownloadProgress
optionalonUploadProgress?: (progressEvent) =>void
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:389
AxiosProgressEvent
void
Omit.onUploadProgress
optionalparams?:any
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:377
optionalparamsSerializer?:ParamsSerializerOptions|CustomParamsSerializer
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:378
AxiosRequestConfig.paramsSerializer
optionalparseReviver?: (this,key,value,context?) =>any
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:447
any
string
any
string
any
Omit.parseReviver
optionalproxy?:false|AxiosProxyConfig
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:413
optionalredact?:string[]
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:454
optionalresponseEncoding?:StringLiteralsOrString<responseEncoding>
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:386
AxiosRequestConfig.responseEncoding
optionalresponseType?:ResponseType
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:385
AxiosRequestConfig.responseType
optionalsignal?:GenericAbortSignal
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:417
optionalsocketPath?:string|null
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:408
optionaltimeout?:number
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:380
optionaltimeoutErrorMessage?:string
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:381
AxiosRequestConfig.timeoutErrorMessage
optionaltransformRequest?:AxiosRequestTransformer|AxiosRequestTransformer[]
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:374
AxiosRequestConfig.transformRequest
optionaltransformResponse?:AxiosResponseTransformer|AxiosResponseTransformer[]
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:375
AxiosRequestConfig.transformResponse
optionaltransitional?:TransitionalOptions
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:416
AxiosRequestConfig.transitional
optionaltransport?:any
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:410
optionalurl?:string
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:370
optionalvalidateStatus?: ((status) =>boolean) |null
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:392
Omit.validateStatus
optionalwithCredentials?:boolean
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:382
AxiosRequestConfig.withCredentials
optionalwithXSRFToken?:boolean| ((config) =>boolean|undefined)
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:446
Omit.withXSRFToken
optionalxsrfCookieName?:string
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:387
AxiosRequestConfig.xsrfCookieName
optionalxsrfHeaderName?:string
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:388
- @142vip/axios
- @142vip/changelog
- @142vip/commit-linter
- @142vip/copyright
- @142vip/data-source
- @142vip/eslint-config
- @142vip/fairy-cli
- @142vip/grpc
- @142vip/nest
- @142vip/nest-redis
- @142vip/nest-typeorm
- @142vip/oauth2.0
- @142vip/open-source
- @142vip/redis
- @142vip/release-version
- @142vip/typeorm
- @142vip/utils