client
Configures the HTTP client to be used in the network builder.
Parameters
The HTTP client instance to set.
Configures the client with the provided HTTP client engine.
Parameters
The HTTP client engine used to create a new HttpClient
.
Configures the HTTP client using the specified engine factory.
Parameters
The factory for creating an instance of an HTTP client engine. The engine factory must implement the HttpClientEngineFactory interface with a type parameter bounded by HttpClientEngineConfig.
Configures and creates an instance of HttpClient using the provided configuration block.
Parameters
A lambda function used to configure the HttpClientConfig.
Configures and creates an HttpClient instance using the provided engine and configuration block.
Parameters
The HttpClientEngine to be used by the HttpClient.
The configuration block for customizing the HttpClient setup.
Configures and initializes an HttpClient
with the specified engine factory and configuration block.
Parameters
The factory used to create the HTTP client engine, which determines the underlying implementation.
A lambda function providing additional configuration for the created HTTP client.
Configurable HTTP client instance used for executing network requests. This property can be customized with a specific implementation of HttpClient or left as the default platform HTTP client.