ClientMessageWrapper

sealed class ClientMessageWrapper

Wraps all incoming messages sent to the client after a v1 subscribe request is issued

Note that the type field has been removed. kotlinx.serialization uses that as a discriminator

Types

Link copied to clipboard
object Companion
Link copied to clipboard
sealed class Data

Properties

Link copied to clipboard
abstract val account: String?

the account this message is from

Link copied to clipboard
abstract val data: ClientMessageWrapper.Data

the incoming object. The structure will vary from message to message, see type and version fields

Link copied to clipboard
abstract val error: Boolean?

true if the incoming message represents an error

Link copied to clipboard
abstract val version: String?

the version of the object in the data field

Inheritors

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