KaryaClientConfig

data class KaryaClientConfig(val protocol: Protocol, val host: String, val port: Int, val keepAliveTime: Long, val connectionTimeout: Long, val connectionAttempts: Int)

Configuration class for the Karya client.

Constructors

Link copied to clipboard
constructor(protocol: Protocol, host: String, port: Int, keepAliveTime: Long, connectionTimeout: Long, connectionAttempts: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The number of connection attempts.

Link copied to clipboard

The connection timeout duration in milliseconds.

Link copied to clipboard

The host address of the server.

Link copied to clipboard

The keep-alive time for the connection in milliseconds.

Link copied to clipboard
val port: Int

The port number of the server.

Link copied to clipboard

The protocol to be used (HTTP or HTTPS).