An implementation for HTTPClient that uses the native fetch API

Implements

Constructors

Methods

Constructors

Methods

  • Flags the calling Client as no longer referencing this HTTPClient. Once no Client instances reference this HTTPClient the underlying resources will be closed. It is expected that calls to this method are only made by a Client instantiation. The behavior of direct calls is undefined.

    Returns void

    For some HTTPClients, such as the FetchClient, this method is a no-op as there is no shared resource to close.