UpdaterConfiguration

data class UpdaterConfiguration(val json: Json = Json { ignoreUnknownKeys = true }, val periodic: Duration? = null, val readTimeout: Duration = 30.seconds, val writeTimeout: Duration = 30.seconds, val notification: UpdaterConfigurationNotification = UpdaterConfigurationNotification(true))(source)

The updater configuration

Constructors

Link copied to clipboard
constructor(json: Json = Json { ignoreUnknownKeys = true }, periodic: Duration? = null, readTimeout: Duration = 30.seconds, writeTimeout: Duration = 30.seconds, notification: UpdaterConfigurationNotification = UpdaterConfigurationNotification(true))

Properties

Link copied to clipboard
val json: Json

The JSON deserializer used by the HttpClient

Link copied to clipboard

The notification settings

Link copied to clipboard
val periodic: Duration? = null

Defines the time between periodic version checks

Link copied to clipboard

The HttpClient (with OkHttpEngine) read timout

Link copied to clipboard

The HttpClient (with OkHttpEngine) write timout