Hierarchy

  • HttpClient

Constructors

Methods

Constructors

Methods

  • Parameters

    • reason: string

    Returns void

    Remarks

    Cancels all pending requests.

  • Parameters

    • uri: string

      URL to make an HTTP Request to.

    Returns Promise<HttpResponse>

    An awaitable promise that contains the HTTP response.

    Remarks

    Performs a simple HTTP get request.

  • Parameters

    • config: HttpRequest

      Contains an HTTP Request object with configuration data on the HTTP request.

    Returns Promise<HttpResponse>

    An awaitable promise that contains the HTTP response.

    Remarks

    Performs an HTTP request.