ApacheEngineConfig

A configuration for the Apache client engine.

Report a problem

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Specifies a time period (in milliseconds) in which a client should start a request.

Link copied to clipboard

Specifies a time period (in milliseconds) in which a client should establish a connection with a server.

Link copied to clipboard
var customClient: HttpAsyncClientBuilder.() -> HttpAsyncClientBuilder

Specifies a custom processor for HttpAsyncClientBuilder.

Link copied to clipboard
var customRequest: RequestConfig.Builder.() -> RequestConfig.Builder

Specifies a custom processor for RequestConfig.Builder.

Link copied to clipboard
Link copied to clipboard

Specifies whether to follow redirects automatically. Disabled by default.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Specifies a maximum time (in milliseconds) of inactivity between two data packets when exchanging data with a server.

Link copied to clipboard

Allows you to configure SSL settings for this engine.

Link copied to clipboard

Functions

Link copied to clipboard
fun customizeClient(block: HttpAsyncClientBuilder.() -> Unit)

Customizes a HttpAsyncClientBuilder in the specified block.

Link copied to clipboard
fun customizeRequest(block: RequestConfig.Builder.() -> Unit)

Customizes a RequestConfig.Builder in the specified block.