Builder

interface Builder

A builder for HttpClientEngineConfig

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

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 var connectTimeout: Duration

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

Link copied to clipboard
abstract var maxConcurrency: UInt

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

Set the proxy selection policy to be used.

Link copied to clipboard

Timeout for each read to an underlying socket

Link copied to clipboard

Timeout for each write to an underlying socket

Link copied to clipboard

The telemetry provider that the HTTP client will be instrumented with

Link copied to clipboard
abstract var tlsContext: TlsContext

Settings related to TLS and secure connections

Functions

Link copied to clipboard
abstract fun tlsContext(block: TlsContext.Builder.() -> Unit)

Settings related to TLS and secure connections