Constructors
constructor
- new HttpAdapterAxios(baseURL: string, options?: AxiosRequestConfig): HttpAdapterAxios
-
Parameters
-
baseURL: string
-
Default value options: AxiosRequestConfig = DefaultAxiosOptions
Methods
delete
- delete(url: string, options?: any | AxiosRequestConfig): Promise<HttpResponse>
-
Parameters
-
url: string
-
Optional options: any | AxiosRequestConfig
get
- get(url: string, options?: any | AxiosRequestConfig): Promise<HttpResponse>
-
Parameters
-
url: string
-
Optional options: any | AxiosRequestConfig
post
- post(url: string, payload: any, options?: any | AxiosRequestConfig): Promise<HttpResponse>
-
Parameters
-
url: string
-
payload: any
-
Optional options: any | AxiosRequestConfig
put
- put(url: string, payload: any, options?: any | AxiosRequestConfig): Promise<HttpResponse>
-
Parameters
-
url: string
-
payload: any
-
Optional options: any | AxiosRequestConfig
Http Implementation of Http using https://github.com/axios/axios
Prefer HttpClientFactory.createHttpClient to create an instance