CIOEngineConfig

class CIOEngineConfig : HttpClientEngineConfig

A configuration for the CIO client engine.

Constructors

Link copied to clipboard
fun CIOEngineConfig()

Functions

Link copied to clipboard
fun https(block: <ERROR CLASS>.() -> Unit): <ERROR CLASS>

Allows you to configure HTTPS settings for this engine.

Properties

Link copied to clipboard
val endpoint: EndpointConfig

Provides access to Endpoint settings.

Link copied to clipboard
val https: <ERROR CLASS>

Allows you to configure HTTPS settings for this engine.

Link copied to clipboard
var maxConnectionsCount: Int = 1000

Specifies the maximum number of connections used to make requests.

Link copied to clipboard
var pipelining: Boolean
Link copied to clipboard
var proxy: ProxyConfig?
Link copied to clipboard
var requestTimeout: Long = 15000

Specifies a time period (in milliseconds) required to process an HTTP call: from sending a request to receiving first response bytes.

Link copied to clipboard
var threadsCount: Int

Extensions

Link copied to clipboard
fun CIOEngineConfig.endpoint(block: EndpointConfig.() -> Unit): EndpointConfig

Provides access to Endpoint settings.