WithHTTPClient returns a RequestOption that changes the underlying http client used to make this.
func WithHTTPClient(client HTTPClient) RequestOptionWithHTTPClient returns a RequestOption that changes the underlying http client used to make this request, which by default is [http.DefaultClient].
For custom uses cases, it is recommended to provide an [*http.Client] with a custom [http.RoundTripper] as its transport, rather than directly implementing [HTTPClient].
| Name | Type | Description |
|---|---|---|
client* | HTTPClient |