HttpClientEngineFactory

interface HttpClientEngineFactory<out T : HttpClientEngineConfig>

Factory of HttpClientEngine with a specific T of HttpClientEngineConfig.

Functions

create
Link copied to clipboard
common
abstract fun create(block: T.() -> Unit = {}): HttpClientEngine
Creates a new HttpClientEngine optionally specifying a block configuring T.

Extensions

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