Static methods to make a xhr request.

Constructors

Methods

Constructors

Methods

  • Make an XHR request. Options are provided through the XhrRequest interface.

    Type Parameters

    • FetchRes extends boolean = false

    Parameters

    Returns Promise<FetchRes extends true ? Response : XMLHttpRequest>