Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HttpAdapterAxios

Http Implementation of Http using https://github.com/axios/axios

Prefer HttpClientFactory.createHttpClient to create an instance

Hierarchy

  • HttpAdapterAxios

Implements

Index

Constructors

Methods

Constructors

constructor

  • new HttpAdapterAxios(baseURL: string, options?: AxiosRequestConfig): HttpAdapterAxios

Methods

delete

  • delete(url: string, options?: any | AxiosRequestConfig): Promise<HttpResponse>

get

  • get(url: string, options?: any | AxiosRequestConfig): Promise<HttpResponse>

post

  • post(url: string, payload: any, options?: any | AxiosRequestConfig): Promise<HttpResponse>

put

  • put(url: string, payload: any, options?: any | AxiosRequestConfig): Promise<HttpResponse>