Apache5EngineConfig

A configuration for the Apache5 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
Link copied to clipboard
var dnsResolver: DnsResolver?

Specifies the DnsResolver used by the Apache5 connection manager to look up IP addresses for hostnames. When null, Apache HttpClient's default resolver is used.

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
var sslHostnameVerificationPolicy: HostnameVerificationPolicy

Specifies the policy for verifying hostnames during SSL/TLS connections.

Link copied to clipboard

Functions

Link copied to clipboard
fun configureConnectionManager(block: PoolingAsyncClientConnectionManagerBuilder.() -> Unit)

Configures the AsyncClientConnectionManager used by the Apache5 engine.

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.