HttpClientEngineFactory

interface HttpClientEngineFactory<out T : HttpClientEngineConfig>

Factory of HttpClientEngine with a specific T of HttpClientEngineConfig.

Functions

Link copied to clipboard
abstract fun create(block: T.() -> Unit = {}): HttpClientEngine

Creates a new HttpClientEngine optionally specifying a block configuring T.

Extensions

Link copied to clipboard
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.