Adds these features to regular HttpBackend from Taquito:

  • Easy to be used with decorator pattern - just delegate execute().
  • Support for AbortSignal.
  • Full URL is available on request. It does not have to be built manually from options.

Hierarchy

  • HttpBackend
    • TaquitoHttpBackend

Constructors

  • Parameters

    • axiosAbstraction: AxiosStatic = axios

    Returns TaquitoHttpBackend

Methods

  • Type Parameters

    • T

    Parameters

    • options: HttpRequestOptions
    • Optional data: string | object

    Returns Promise<T>

  • Parameters

    • Optional obj: ObjectType

    Returns string

Generated using TypeDoc