Builder

interface Builder

A builder for HttpEngineConfig

Inheritors

Properties

Link copied to clipboard

Override the default HTTP client engine used to make SDK requests (e.g. configure proxy behavior, timeouts, concurrency, etc).

Functions

Link copied to clipboard

Build an HttpEngineConfig from this builder.

Link copied to clipboard
abstract fun httpClient(block: HttpClientEngineConfig.Builder.() -> Unit = {})
abstract fun <B : HttpClientEngineConfig.Builder, E : HttpClientEngine> httpClient(engineFactory: EngineFactory<B, E>, block: B.() -> Unit = {})

Override configuration settings for an HTTP client engine without specifying a specific instance. The resulting engine's lifecycle will be managed by the SDK (e.g., it will be closed when the client is closed).