Jetty

A JVM client engine that uses the Jetty HTTP client.

To create the client with this engine, pass it to the HttpClient constructor:

val client = HttpClient(Jetty)

To configure the engine, pass settings exposed by JettyEngineConfig to the engine method:

val client = HttpClient(Jetty) {
engine {
// this: JettyEngineConfig
}
}

You can learn more about client engines from Engines.

Functions

Link copied to clipboard
open override fun create(block: JettyEngineConfig.() -> Unit): HttpClientEngine