Builder

interface Builder

A builder for HttpClientEngineConfig

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract var 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 var 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 var connectTimeout: <Error class: unknown class>

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

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

The host name resolver (DNS) to be used by the client

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

Set the proxy selection policy to be used.

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

Timeout for each read to an underlying socket

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

Timeout for each write to an underlying socket

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

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