An instance of axios which is preconfigured to use the AMQP adapter.

Hierarchy

  • AmqpAxiosProxiedClient

Implements

  • Axios

Constructors

Accessors

Methods

  • Make an HTTP DELETE request to the specified URL.

    Type Parameters

    • T = any

      the type defining the shape of the response payload

    • R = AxiosResponse<T, any>

      the type defining the shape of the full axios response

    • D = any

      the type defining the shape of the request payload

    Parameters

    Returns Promise<R>

    The response for the request

    Throws

    If the request fails

  • Make an HTTP GET request to the specified URL.

    Type Parameters

    • T = any

      the type defining the shape of the response payload

    • R = AxiosResponse<T, any>

      the type defining the shape of the full axios response

    • D = any

      the type defining the shape of the request payload

    Parameters

    Returns Promise<R>

    The response for the request

    Throws

    If the request fails

  • Resolve the url for the request based on the config.

    Parameters

    • Optional config: AxiosRequestConfig<any>

      The configuration for the request

    Returns string

    The url for the request

  • Make an HTTP HEAD request to the specified URL.

    Type Parameters

    • T = any

      the type defining the shape of the response payload

    • R = AxiosResponse<T, any>

      the type defining the shape of the full axios response

    • D = any

      the type defining the shape of the request payload

    Parameters

    Returns Promise<R>

    The response for the request

    Throws

    If the request fails

  • Make an HTTP OPTIONS request to the specified URL.

    Type Parameters

    • T = any

      the type defining the shape of the response payload

    • R = AxiosResponse<T, any>

      the type defining the shape of the full axios response

    • D = any

      the type defining the shape of the request payload

    Parameters

    Returns Promise<R>

    The response for the request

    Throws

    If the request fails

  • Make an HTTP PATCH request to the specified URL with the specified payload

    Type Parameters

    • T = any

      the type defining the shape of the response payload

    • R = AxiosResponse<T, any>

      the type defining the shape of the full axios response

    • D = any

      the type defining the shape of the request payload

    Parameters

    Returns Promise<R>

    The response for the request

    Throws

    If the request fails

  • Make an HTTP PATCH request with the content-type set to application/x-www-form-urlencoded to the specified URL with the specified payload

    Type Parameters

    • T = any

      the type defining the shape of the response payload

    • R = AxiosResponse<T, any>

      the type defining the shape of the full axios response

    • D = any

      the type defining the shape of the request payload

    Parameters

    Returns Promise<R>

    The response for the request

    Throws

    If the request fails

  • Make an HTTP POST request to the specified URL with the specified payload

    Type Parameters

    • T = any

      the type defining the shape of the response payload

    • R = AxiosResponse<T, any>

      the type defining the shape of the full axios response

    • D = any

      the type defining the shape of the request payload

    Parameters

    Returns Promise<R>

    The response for the request

    Throws

    If the request fails

  • Make an HTTP POST request with the content-type set to application/x-www-form-urlencoded to the specified URL with the specified payload

    Type Parameters

    • T = any

      the type defining the shape of the response payload

    • R = AxiosResponse<T, any>

      the type defining the shape of the full axios response

    • D = any

      the type defining the shape of the request payload

    Parameters

    Returns Promise<R>

    The response for the request

    Throws

    If the request fails

  • Make an HTTP PUT request to the specified URL with the specified payload

    Type Parameters

    • T = any

      the type defining the shape of the response payload

    • R = AxiosResponse<T, any>

      the type defining the shape of the full axios response

    • D = any

      the type defining the shape of the request payload

    Parameters

    Returns Promise<R>

    The response for the request

    Throws

    If the request fails

  • Make an HTTP PUT request with the content-type set to application/x-www-form-urlencoded to the specified URL with the specified payload

    Type Parameters

    • T = any

      the type defining the shape of the response payload

    • R = AxiosResponse<T, any>

      the type defining the shape of the full axios response

    • D = any

      the type defining the shape of the request payload

    Parameters

    Returns Promise<R>

    The response for the request

    Throws

    If the request fails

  • Type Parameters

    • T = any

      the type defining the shape of the response payload

    • R = AxiosResponse<T, any>

      the type defining the shape of the full axios response

    • D = any

      the type defining the shape of the request payload Make a with the method & url specified in the config.

    Parameters

    Returns Promise<R>

    The response for the request

    Throws

    If the request fails