Aller au contenu principal
Version: Next

AxiosHttpService

Implemented by

Index

Properties

defaults

defaults: AxiosDefaults<any>

interceptors

interceptors: { request: AxiosInterceptorManager<AxiosRequestConfig<any>>; response: AxiosInterceptorManager<AxiosResponse<any, any>> }

Methods

delete

  • delete<T, R, D>(url: string, config?: AxiosRequestConfig<D>): Promise<R>
  • Type parameters

    • T = any
    • R = AxiosResponse<T, any>
    • D = any

get

  • get<T, R, D>(url: string, config?: AxiosRequestConfig<D>): Promise<R>
  • Type parameters

    • T = any
    • R = AxiosResponse<T, any>
    • D = any

getUri

  • getUri(config?: AxiosRequestConfig<any>): string

head

  • head<T, R, D>(url: string, config?: AxiosRequestConfig<D>): Promise<R>
  • Type parameters

    • T = any
    • R = AxiosResponse<T, any>
    • D = any

options

  • options<T, R, D>(url: string, config?: AxiosRequestConfig<D>): Promise<R>
  • Type parameters

    • T = any
    • R = AxiosResponse<T, any>
    • D = any

patch

  • patch<T, R, D>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>
  • Type parameters

    • T = any
    • R = AxiosResponse<T, any>
    • D = any

patchForm

  • patchForm<T, R, D>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>
  • Type parameters

    • T = any
    • R = AxiosResponse<T, any>
    • D = any

post

  • post<T, R, D>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>
  • Type parameters

    • T = any
    • R = AxiosResponse<T, any>
    • D = any

postForm

  • postForm<T, R, D>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>
  • Type parameters

    • T = any
    • R = AxiosResponse<T, any>
    • D = any

put

  • put<T, R, D>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>
  • Type parameters

    • T = any
    • R = AxiosResponse<T, any>
    • D = any

putForm

  • putForm<T, R, D>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>
  • Type parameters

    • T = any
    • R = AxiosResponse<T, any>
    • D = any

request

  • request<T, R, D>(config: AxiosRequestConfig<D>): Promise<R>
  • Type parameters

    • T = any
    • R = AxiosResponse<T, any>
    • D = any