ApacheEngineConfig
class ApacheEngineConfig : HttpClientEngineConfig
Configuration for Apache implementation of HttpClientEngineFactory.
Constructors
ApacheEngineConfig() Configuration for Apache implementation of HttpClientEngineFactory. |
Properties
var connectTimeout: Int Max milliseconds to establish an HTTP connection - default 10 seconds. A value of 0 represents infinite, while -1 represents system’s default value. |
|
var connectionRequestTimeout: Int Max milliseconds for the connection manager to start a request - default 20 seconds. A value of 0 represents infinite, while -1 represents system’s default value. |
|
var customClient: HttpAsyncClientBuilder.() -> HttpAsyncClientBuilder Custom processor for HttpAsyncClientBuilder. |
|
var customRequest: Builder.() -> Builder Custom processor for RequestConfig.Builder. |
|
var followRedirects: Boolean Whether or not, it will follow |
|
var socketTimeout: Int Max milliseconds between TCP packets - default 10 seconds. A value of 0 represents infinite, while -1 represents system’s default value. |
|
var sslContext: SSLContext? Optional Java’s SSLContext allowing to set custom keys, trust manager or custom source for secure random data |
Inherited Properties
var pipelining: Boolean Enable http pipelining advice. |
|
var proxy: ProxyConfig? Proxy address to use. Use system proxy by default. |
|
val |
|
var threadsCount: Int Network threads count advice. |
Functions
Customizes a HttpAsyncClientBuilder in the specified block. |
|
Customizes a RequestConfig.Builder in the specified block. |