config

Returns a new HttpClient by copying this client's configuration and additionally configured by the block parameter.

The new client shares the engine with this client. Per-request configuration, such as timeouts set with HttpTimeout, applies only to requests of the client it is configured in.

Report a problem