ClientMessageWrapper

sealed class ClientMessageWrapper

Wraps all incoming messages after a v1 subscribe request is issued Note that the type field has been removed. kotlinx.serialization uses that as a discriminator

Types

Data
Link copied to clipboard
common
sealed class Data

Properties

data
Link copied to clipboard
common
abstract val data: ClientMessageWrapper.Data
the incoming object.
error
Link copied to clipboard
common
abstract val error: Boolean?
true if the incoming message represents an error
version
Link copied to clipboard
common
abstract val version: String?
the version of the object in the data field

Inheritors

ExceptionWrapper
Link copied to clipboard
IncomingMessage
Link copied to clipboard
ListenerState
Link copied to clipboard