Defaults

object Defaults

Properties

Link copied to clipboard

Default JSON decoder, backed by GSON, that takes JSON and converts it into a Message object.

Link copied to clipboard

Default JSON encoder, backed by GSON, that takes a Map and converts it into a JSON String.

Link copied to clipboard
val gson: Gson

The default Gson configuration to use when parsing messages

Link copied to clipboard
const val HEARTBEAT: Long

Default heartbeat interval of 30s

Link copied to clipboard

Default reconnect algorithm for the socket

Link copied to clipboard

Default rejoin algorithm for individual channels

Link copied to clipboard
const val TIMEOUT: Long

Default timeout of 10s

Link copied to clipboard
const val VSN: String

Default JSON Serializer Version set to 2.0.0