httpClient

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

Set custom HttpClient configuration for the default HttpClient.


fun <T : HttpClientEngineConfig> httpClient(engineFactory: HttpClientEngineFactory<T>, block: HttpClientConfig<T>.() -> Unit = {})

Creates an custom HttpClient with the specified HttpClientEngineFactory and optional block configuration. Note that the Trakt config will be added afterwards.