-
Notifications
You must be signed in to change notification settings - Fork 1
@142vip.axios.Interface.VipAxiosInstance
API 参考 / @142vip/axios / VipAxiosInstance
Defined in: packages/axios/src/core/axios.factory.ts:11
VipAxios实例类型
- 继承自AxiosInstance,添加了自定义方法
- 提供了清除拦截器的方法
- 提供了获取默认配置的方法
AxiosInstance
VipAxiosInstance<
T,R,D>(config):Promise<R>
Defined in: packages/axios/src/core/axios.factory.ts:11
VipAxios实例类型
- 继承自AxiosInstance,添加了自定义方法
- 提供了清除拦截器的方法
- 提供了获取默认配置的方法
T = any
R = AxiosResponse<T, any>
D = any
AxiosRequestConfig<D>
Promise<R>
VipAxiosInstance<
T,R,D>(url,config?):Promise<R>
Defined in: packages/axios/src/core/axios.factory.ts:11
VipAxios实例类型
- 继承自AxiosInstance,添加了自定义方法
- 提供了清除拦截器的方法
- 提供了获取默认配置的方法
T = any
R = AxiosResponse<T, any>
D = any
string
AxiosRequestConfig<D>
Promise<R>
clearInterceptor: (
type) =>void
Defined in: packages/axios/src/core/axios.factory.ts:12
void
defaults:
Omit<AxiosDefaults<any>,"headers"> &object
Defined in: node_modules/.pnpm/axios@1.11.0/node_modules/axios/index.d.ts:518
headers:
HeadersDefaults&object
AxiosInstance.defaults
getConfig: () =>
undefined|CreateAxiosDefaults<any>
Defined in: packages/axios/src/core/axios.factory.ts:13
undefined | CreateAxiosDefaults<any>
interceptors:
object
Defined in: node_modules/.pnpm/axios@1.11.0/node_modules/axios/index.d.ts:495
request:
AxiosInterceptorManager<InternalAxiosRequestConfig<any>>
response:
AxiosInterceptorManager<AxiosResponse<any,any>>
AxiosInstance.interceptors
create(
config?):AxiosInstance
Defined in: node_modules/.pnpm/axios@1.11.0/node_modules/axios/index.d.ts:517
CreateAxiosDefaults<any>
AxiosInstance
AxiosInstance.create
delete<
T,R,D>(url,config?):Promise<R>
Defined in: node_modules/.pnpm/axios@1.11.0/node_modules/axios/index.d.ts:502
T = any
R = AxiosResponse<T, any>
D = any
string
AxiosRequestConfig<D>
Promise<R>
AxiosInstance.delete
get<
T,R,D>(url,config?):Promise<R>
Defined in: node_modules/.pnpm/axios@1.11.0/node_modules/axios/index.d.ts:501
T = any
R = AxiosResponse<T, any>
D = any
string
AxiosRequestConfig<D>
Promise<R>
AxiosInstance.get
getUri(
config?):string
Defined in: node_modules/.pnpm/axios@1.11.0/node_modules/axios/index.d.ts:499
AxiosRequestConfig<any>
string
AxiosInstance.getUri
head<
T,R,D>(url,config?):Promise<R>
Defined in: node_modules/.pnpm/axios@1.11.0/node_modules/axios/index.d.ts:503
T = any
R = AxiosResponse<T, any>
D = any
string
AxiosRequestConfig<D>
Promise<R>
AxiosInstance.head
options<
T,R,D>(url,config?):Promise<R>
Defined in: node_modules/.pnpm/axios@1.11.0/node_modules/axios/index.d.ts:504
T = any
R = AxiosResponse<T, any>
D = any
string
AxiosRequestConfig<D>
Promise<R>
AxiosInstance.options
patch<
T,R,D>(url,data?,config?):Promise<R>
Defined in: node_modules/.pnpm/axios@1.11.0/node_modules/axios/index.d.ts:507
T = any
R = AxiosResponse<T, any>
D = any
string
D
AxiosRequestConfig<D>
Promise<R>
AxiosInstance.patch
patchForm<
T,R,D>(url,data?,config?):Promise<R>
Defined in: node_modules/.pnpm/axios@1.11.0/node_modules/axios/index.d.ts:510
T = any
R = AxiosResponse<T, any>
D = any
string
D
AxiosRequestConfig<D>
Promise<R>
AxiosInstance.patchForm
post<
T,R,D>(url,data?,config?):Promise<R>
Defined in: node_modules/.pnpm/axios@1.11.0/node_modules/axios/index.d.ts:505
T = any
R = AxiosResponse<T, any>
D = any
string
D
AxiosRequestConfig<D>
Promise<R>
AxiosInstance.post
postForm<
T,R,D>(url,data?,config?):Promise<R>
Defined in: node_modules/.pnpm/axios@1.11.0/node_modules/axios/index.d.ts:508
T = any
R = AxiosResponse<T, any>
D = any
string
D
AxiosRequestConfig<D>
Promise<R>
AxiosInstance.postForm
put<
T,R,D>(url,data?,config?):Promise<R>
Defined in: node_modules/.pnpm/axios@1.11.0/node_modules/axios/index.d.ts:506
T = any
R = AxiosResponse<T, any>
D = any
string
D
AxiosRequestConfig<D>
Promise<R>
AxiosInstance.put
putForm<
T,R,D>(url,data?,config?):Promise<R>
Defined in: node_modules/.pnpm/axios@1.11.0/node_modules/axios/index.d.ts:509
T = any
R = AxiosResponse<T, any>
D = any
string
D
AxiosRequestConfig<D>
Promise<R>
AxiosInstance.putForm
request<
T,R,D>(config):Promise<R>
Defined in: node_modules/.pnpm/axios@1.11.0/node_modules/axios/index.d.ts:500
T = any
R = AxiosResponse<T, any>
D = any
AxiosRequestConfig<D>
Promise<R>
AxiosInstance.request
- @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