CIOEngineConfig

class CIOEngineConfig : HttpClientEngineConfig

Configuration for CIO client engine.

Constructors

<init>

CIOEngineConfig()

Configuration for CIO client engine.

Properties

endpoint

val endpoint: EndpointConfig

Endpoint settings.

https

val https: TLSConfigBuilder

https settings.

maxConnectionsCount

var maxConnectionsCount: Int

Maximum allowed connections count.

requestTimeout

var requestTimeout: Long

Timeout to get send request headers and get first response bytes(in millis).

Inherited Properties

dispatcher

var dispatcher: CoroutineDispatcher?

The CoroutineDispatcher that will be used for the client requests.

pipelining

var pipelining: Boolean

Enable http pipelining advice.

response

val response: HttpResponseConfig

Configuration for http response.

threadsCount

var threadsCount: Int

Network threads count advice.

Functions

https

fun https(
    block: TLSConfigBuilder.() -> Unit
): TLSConfigBuilder

https settings.

Extension Functions

endpoint

fun CIOEngineConfig.endpoint(
    block: EndpointConfig.() -> Unit
): EndpointConfig

Configure endpoint settings.