ktor-client-core / io.ktor.client / HttpClient / config

config

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

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