构造函数
constructor
-
属性
defaults
interceptors
方法
delete
-
delete<T = any, R = typeof axiosResponseDefault, D = any, P = any>( url: string, config?: AxiosRequestConfig<D, P>,): Promise<AxiosResponseResult<T, R, D, P>>
类型参数
- T = any
- R = typeof axiosResponseDefault
- D = any
- P = any
返回 Promise<AxiosResponseResult<T, R, D, P>>
get
-
get<T = any, R = typeof axiosResponseDefault, D = any, P = any>( url: string, config?: AxiosRequestConfig<D, P>,): Promise<AxiosResponseResult<T, R, D, P>>
类型参数
- T = any
- R = typeof axiosResponseDefault
- D = any
- P = any
返回 Promise<AxiosResponseResult<T, R, D, P>>
getUri
-
返回 string
head
-
head<T = any, R = typeof axiosResponseDefault, D = any, P = any>( url: string, config?: AxiosRequestConfig<D, P>,): Promise<AxiosResponseResult<T, R, D, P>>
类型参数
- T = any
- R = typeof axiosResponseDefault
- D = any
- P = any
返回 Promise<AxiosResponseResult<T, R, D, P>>
options
-
options<T = any, R = typeof axiosResponseDefault, D = any, P = any>( url: string, config?: AxiosRequestConfig<D, P>,): Promise<AxiosResponseResult<T, R, D, P>>
类型参数
- T = any
- R = typeof axiosResponseDefault
- D = any
- P = any
返回 Promise<AxiosResponseResult<T, R, D, P>>
patch
-
patch<T = any, R = typeof axiosResponseDefault, D = any, P = any>( url: string, data?: D, config?: AxiosRequestConfig<D, P>,): Promise<AxiosResponseResult<T, R, D, P>>
类型参数
- T = any
- R = typeof axiosResponseDefault
- D = any
- P = any
返回 Promise<AxiosResponseResult<T, R, D, P>>
-
类型参数
- T = any
- R = typeof axiosResponseDefault
- D = any
- P = any
返回 Promise<AxiosResponseResult<T, R, D, P>>
post
-
post<T = any, R = typeof axiosResponseDefault, D = any, P = any>( url: string, data?: D, config?: AxiosRequestConfig<D, P>,): Promise<AxiosResponseResult<T, R, D, P>>
类型参数
- T = any
- R = typeof axiosResponseDefault
- D = any
- P = any
返回 Promise<AxiosResponseResult<T, R, D, P>>
postForm
-
postForm<T = any, R = typeof axiosResponseDefault, D = any, P = any>( url: string, data?: D, config?: AxiosRequestConfig<D, P>,): Promise<AxiosResponseResult<T, R, D, P>>
类型参数
- T = any
- R = typeof axiosResponseDefault
- D = any
- P = any
返回 Promise<AxiosResponseResult<T, R, D, P>>
put
-
put<T = any, R = typeof axiosResponseDefault, D = any, P = any>( url: string, data?: D, config?: AxiosRequestConfig<D, P>,): Promise<AxiosResponseResult<T, R, D, P>>
类型参数
- T = any
- R = typeof axiosResponseDefault
- D = any
- P = any
返回 Promise<AxiosResponseResult<T, R, D, P>>
-
类型参数
- T = any
- R = typeof axiosResponseDefault
- D = any
- P = any
返回 Promise<AxiosResponseResult<T, R, D, P>>
query
-
query<T = any, R = typeof axiosResponseDefault, D = any, P = any>( url: string, data?: D, config?: AxiosRequestConfig<D, P>,): Promise<AxiosResponseResult<T, R, D, P>>
类型参数
- T = any
- R = typeof axiosResponseDefault
- D = any
- P = any
返回 Promise<AxiosResponseResult<T, R, D, P>>
request
-
request<T = any, R = typeof axiosResponseDefault, D = any, P = any>( config: AxiosRequestConfig<D, P>,): Promise<AxiosResponseResult<T, R, D, P>>
类型参数
- T = any
- R = typeof axiosResponseDefault
- D = any
- P = any
返回 Promise<AxiosResponseResult<T, R, D, P>>