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.
For some HTTPClients, such as the FetchClient, this method is a no-op as there is no shared resource to close.
Makes an HTTP request and returns the response
an HTTPRequest
A Promise<HTTPResponse>
Makes an HTTP request and returns the response
an HTTPStreamRequest
A Promise<HTTPResponse>
Static
getGets a NodeHTTP2Client matching the HTTTPClientOptions
the HTTTPClientOptions
a NodeHTTP2Client matching the HTTTPClientOptions
An implementation for HTTPClient that uses the node http package