Apache

object Apache : HttpClientEngineFactory<ApacheEngineConfig>

A JVM client engine that uses the Apache HTTP client.

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

val client = HttpClient(Apache)

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

val client = HttpClient(Apache) {
engine {
// this: ApacheEngineConfig
}
}

You can learn more about client engines from Engines.

Functions

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