@142vip.data source.Interface.HttpApiOptions - 142vip/core-x GitHub Wiki
API 参考 / @142vip/data-source / HttpApiOptions
Interface: HttpApiOptions
Defined in: packages/data-source/src/core/apis/vip-http-api.ts:6
Extends
AxiosRequestConfig
Properties
adapter?
optionaladapter:AxiosAdapterConfig|AxiosAdapterConfig[]
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:332
Inherited from
AxiosRequestConfig.adapter
allowAbsoluteUrls?
optionalallowAbsoluteUrls:boolean
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:322
Inherited from
AxiosRequestConfig.allowAbsoluteUrls
auth?
optionalauth:AxiosBasicCredentials
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:333
Inherited from
AxiosRequestConfig.auth
baseURL?
optionalbaseURL:string
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:321
Inherited from
AxiosRequestConfig.baseURL
beforeRedirect()?
optionalbeforeRedirect: (options,responseDetails) =>void
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:345
Parameters
options
Record<string, any>
responseDetails
headers
Record<string, string>
statusCode
HttpStatusCode
Returns
void
Inherited from
AxiosRequestConfig.beforeRedirect
cancelToken?
optionalcancelToken:CancelToken
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:351
Inherited from
AxiosRequestConfig.cancelToken
data?
optionaldata:any
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:328
Inherited from
AxiosRequestConfig.data
decompress?
optionaldecompress:boolean
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:352
Inherited from
AxiosRequestConfig.decompress
env?
optionalenv:object
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:356
FormData()?
optionalFormData: (...args) =>object
Parameters
args
...any[]
Returns
object
Inherited from
AxiosRequestConfig.env
family?
optionalfamily:AddressFamily
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:360
Inherited from
AxiosRequestConfig.family
fetchOptions?
optionalfetchOptions:Record<string,any> |Omit<RequestInit,"body"|"headers"|"method"|"signal">
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:364
Inherited from
AxiosRequestConfig.fetchOptions
formSerializer?
optionalformSerializer:FormSerializerOptions
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:359
Inherited from
AxiosRequestConfig.formSerializer
headers?
optionalheaders:AxiosHeaders|Partial<RawAxiosHeaders&object&object> &Partial<object&object>
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:325
Inherited from
AxiosRequestConfig.headers
httpAgent?
optionalhttpAgent:any
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:348
Inherited from
AxiosRequestConfig.httpAgent
httpsAgent?
optionalhttpsAgent:any
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:349
Inherited from
AxiosRequestConfig.httpsAgent
insecureHTTPParser?
optionalinsecureHTTPParser:boolean
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:355
Inherited from
AxiosRequestConfig.insecureHTTPParser
lookup?
optionallookup: (hostname,options,cb) =>void| (hostname,options) =>Promise<LookupAddress| [LookupAddressEntry|LookupAddressEntry[],AddressFamily]>
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:361
Inherited from
AxiosRequestConfig.lookup
maxBodyLength?
optionalmaxBodyLength:number
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:342
Inherited from
AxiosRequestConfig.maxBodyLength
maxContentLength?
optionalmaxContentLength:number
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:340
Inherited from
AxiosRequestConfig.maxContentLength
maxRate?
optionalmaxRate:number| [number,number]
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:344
Inherited from
AxiosRequestConfig.maxRate
maxRedirects?
optionalmaxRedirects:number
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:343
Inherited from
AxiosRequestConfig.maxRedirects
method?
optionalmethod:string
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:320
Inherited from
AxiosRequestConfig.method
onDownloadProgress()?
optionalonDownloadProgress: (progressEvent) =>void
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:339
Parameters
progressEvent
AxiosProgressEvent
Returns
void
Inherited from
AxiosRequestConfig.onDownloadProgress
onUploadProgress()?
optionalonUploadProgress: (progressEvent) =>void
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:338
Parameters
progressEvent
AxiosProgressEvent
Returns
void
Inherited from
AxiosRequestConfig.onUploadProgress
params?
optionalparams:any
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:326
Inherited from
AxiosRequestConfig.params
paramsSerializer?
optionalparamsSerializer:ParamsSerializerOptions|CustomParamsSerializer
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:327
Inherited from
AxiosRequestConfig.paramsSerializer
proxy?
optionalproxy:false|AxiosProxyConfig
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:350
Inherited from
AxiosRequestConfig.proxy
responseEncoding?
optionalresponseEncoding:string
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:335
Inherited from
AxiosRequestConfig.responseEncoding
responseType?
optionalresponseType:ResponseType
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:334
Inherited from
AxiosRequestConfig.responseType
signal?
optionalsignal:GenericAbortSignal
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:354
Inherited from
AxiosRequestConfig.signal
socketPath?
optionalsocketPath:null|string
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:346
Inherited from
AxiosRequestConfig.socketPath
timeout?
optionaltimeout:number
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:329
Inherited from
AxiosRequestConfig.timeout
timeoutErrorMessage?
optionaltimeoutErrorMessage:string
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:330
Inherited from
AxiosRequestConfig.timeoutErrorMessage
transformRequest?
optionaltransformRequest:AxiosRequestTransformer|AxiosRequestTransformer[]
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:323
Inherited from
AxiosRequestConfig.transformRequest
transformResponse?
optionaltransformResponse:AxiosResponseTransformer|AxiosResponseTransformer[]
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:324
Inherited from
AxiosRequestConfig.transformResponse
transitional?
optionaltransitional:TransitionalOptions
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:353
Inherited from
AxiosRequestConfig.transitional
transport?
optionaltransport:any
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:347
Inherited from
AxiosRequestConfig.transport
url?
optionalurl:string
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:319
Inherited from
AxiosRequestConfig.url
validateStatus?
optionalvalidateStatus:null| (status) =>boolean
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:341
Inherited from
AxiosRequestConfig.validateStatus
withCredentials?
optionalwithCredentials:boolean
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:331
Inherited from
AxiosRequestConfig.withCredentials
withXSRFToken?
optionalwithXSRFToken:boolean| (config) =>undefined|boolean
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:363
Inherited from
AxiosRequestConfig.withXSRFToken
xsrfCookieName?
optionalxsrfCookieName:string
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:336
Inherited from
AxiosRequestConfig.xsrfCookieName
xsrfHeaderName?
optionalxsrfHeaderName:string
Defined in: node_modules/.pnpm/[email protected]/node_modules/axios/index.d.ts:337
Inherited from
AxiosRequestConfig.xsrfHeaderName