NetworkConfiguration

data class NetworkConfiguration(connectionTimeOut: Long, readTimeOut: Long, writeTimeOut: Long)

A configuration to provide the network connection parameters.

Constructors

NetworkConfiguration
Link copied to clipboard
fun NetworkConfiguration(connectionTimeOut: Long = 10, readTimeOut: Long = 10, writeTimeOut: Long = 10)

Properties

connectionTimeOut
Link copied to clipboard
val connectionTimeOut: Long = 10
Connection timeout (in seconds).
readTimeOut
Link copied to clipboard
val readTimeOut: Long = 10
Read timeout (in seconds) for network connection.
writeTimeOut
Link copied to clipboard
val writeTimeOut: Long = 10
Write timeout (in seconds) for network connection.

Sources

androidJvm source
Link copied to clipboard