HttpClientEngineConfig

Common configuration options to be interpreted by an underlying engine

NOTE: Not all engines will support every option! Engines SHOULD log a warning when given a configuration option they don't understand/support

Inheritors

Types

Link copied to clipboard
interface Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val connectionAcquireTimeout: <Error class: unknown class>

The amount of time to wait for an already-established connection from a connection pool

Link copied to clipboard
abstract val connectionIdleTimeout: <Error class: unknown class>

The amount of time before an idle connection should be reaped from a connection pool. Zero indicates that idle connections should never be reaped.

Link copied to clipboard
abstract val connectTimeout: <Error class: unknown class>

The amount of time to wait for a connection to be established

Link copied to clipboard
abstract val hostResolver: <Error class: unknown class>

The host name resolver (DNS)

Link copied to clipboard
abstract val maxConcurrency: <Error class: unknown class>

The maximum number of requests that will be executed concurrently by an engine. Beyond this requests will be queued waiting to be executed by the engine.

Link copied to clipboard

The proxy selection policy

Link copied to clipboard
abstract val socketReadTimeout: <Error class: unknown class>

Timeout for each read to an underlying socket

Link copied to clipboard
abstract val socketWriteTimeout: <Error class: unknown class>

Timeout for each write to an underlying socket

Link copied to clipboard
abstract val telemetryProvider: <Error class: unknown class>

The telemetry provider that the HTTP client will be instrumented with

Link copied to clipboard
abstract val tlsContext: TlsContext

Settings related to TLS and secure connections

Functions

Link copied to clipboard