config

fun config(block: HttpClientConfig<*>.() -> Unit): HttpClient

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