Jetty

HttpClientEngineFactory using org.eclipse.jetty.http2:http2-client with the the associated configuration JettyEngineConfig.

Just supports HTTP/2 requests.

Functions

create

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