HttpAdapter.client constructor
HttpAdapter.client(
- Client client
A HTTP adapter using the given HTTP client
.
The lifecycle (closing it) of the client
must be managed by caller of
this factory.
This default adapter just forwards HTTP GET requests to http.Client
.
Implementation
factory HttpAdapter.client(http.Client client) =>
_HttpClientAdapterBase(client);