NetworkConfiguration

data class NetworkConfiguration(val connMaxIdleCount: Int = 10, val connKeepAliveDurationSec: Long = 25, val httpCacheFolderName: String = "http_cache", val httpCacheSizeBytes: Long = 50L * 1024 * 1024, val timeoutConnectionSec: Long = 50, val timeoutReadSec: Long = 50, val timeoutWriteSec: Long = 50, val timeoutCallSec: Long = 300, val uploadTimeoutConnectionSec: Long = timeoutConnectionSec, val uploadTimeoutReadSec: Long = timeoutReadSec, val uploadTimeoutWriteSec: Long = 60 * 5, val uploadTimeoutCallSec: Long = 0, val downloadTimeoutConnectionSec: Long = timeoutConnectionSec, val downloadTimeoutReadSec: Long = 60 * 5, val downloadTimeoutWriteSec: Long = timeoutWriteSec, val downloadTimeoutCallSec: Long = 0)

Constructors

Link copied to clipboard
constructor(connMaxIdleCount: Int = 10, connKeepAliveDurationSec: Long = 25, httpCacheFolderName: String = "http_cache", httpCacheSizeBytes: Long = 50L * 1024 * 1024, timeoutConnectionSec: Long = 50, timeoutReadSec: Long = 50, timeoutWriteSec: Long = 50, timeoutCallSec: Long = 300, uploadTimeoutConnectionSec: Long = timeoutConnectionSec, uploadTimeoutReadSec: Long = timeoutReadSec, uploadTimeoutWriteSec: Long = 60 * 5, uploadTimeoutCallSec: Long = 0, downloadTimeoutConnectionSec: Long = timeoutConnectionSec, downloadTimeoutReadSec: Long = 60 * 5, downloadTimeoutWriteSec: Long = timeoutWriteSec, downloadTimeoutCallSec: Long = 0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard