CIO

HttpClientEngineFactory using a Coroutine based I/O implementation without additional dependencies with the the associated configuration CIOEngineConfig.

Just supports HTTP/1.x and HTTPS requests.

Functions

create

fun create(
    block: CIOEngineConfig.() -> 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.