EndpointConfig

class EndpointConfig

Endpoint settings.

Constructors

<init>

EndpointConfig()

Endpoint settings.

Properties

allowHalfClose

var allowHalfClose: Boolean

Allow socket to close output channel immediately on writing completion (TCP connection half close).

connectRetryAttempts

var connectRetryAttempts: Int

Maximum number of connection attempts.

connectTimeout

var connectTimeout: Long

Connect timeout in millis.

keepAliveTime

var keepAliveTime: Long

Connection keep-alive time in millis.

maxConnectionsPerRoute

var maxConnectionsPerRoute: Int

Maximum connections per single route.

pipelineMaxSize

var pipelineMaxSize: Int

Maximum number of requests per single pipeline.

socketTimeout

val socketTimeout: Long

Socket timeout in millis.