Java

HttpClientEngineFactory using a Java based backend implementation with the the associated configuration JavaHttpConfig.

Functions

create

fun create(
    block: JavaHttpConfig.() -> Unit
): HttpClientEngine

Creates a new HttpClientEngine optionally specifying a block configuring T.

Extension Functions

config

fun <T : HttpClientEngineConfig> HttpClientEngineFactory<T>.config(
    nested: T.() -> Unit
): HttpClientEngineFactory<T>

Creates a new HttpClientEngineFactory based on this one with further configurations from the nested block.