API 参考
正在准备搜索索引...
@142vip/axios
AxiosFactory
类 AxiosFactory
axios
参考:
https://www.npmjs.com/package/axios#features
索引
构造函数
constructor
方法
clear
Interceptor
create
Axios
Instance
get
Config
构造函数
constructor
new
AxiosFactory
(
config
?:
CreateAxiosDefaults
<
any
>
)
:
AxiosFactory
参数
可选
config
:
CreateAxiosDefaults
<
any
>
返回
AxiosFactory
方法
clear
Interceptor
clearInterceptor
(
type
?:
InterceptorType
)
:
void
清除拦截器,支持同时清理请求拦截器和响应拦截器
参数
可选
type
:
InterceptorType
返回
void
create
Axios
Instance
createAxiosInstance
()
:
VipAxiosInstance
创建vipAxios实例
返回
VipAxiosInstance
get
Config
getConfig
()
:
undefined
|
CreateAxiosDefaults
<
any
>
获取用户初始化的axios实例的默认配置
返回
undefined
|
CreateAxiosDefaults
<
any
>
显示设置
成员可见性
受保护
继承
外部
配色
自动
浅色
深色
目录
构造函数
constructor
方法
clear
Interceptor
create
Axios
Instance
get
Config
API 参考
加载中……
axios