ForceKeepAliveMessage

@Serializable
@SerialName(value = "ForceKeepAlive")
data class ForceKeepAliveMessage(val data: Int, val messageId: UUID) : OutboundWebSocketMessage

Force keep alive websocket messages. The data is the timeout in seconds after which the server considers the connection lost; clients are expected to answer with a KeepAlive message and to keep sending one at least every half of that timeout.

Constructors

Link copied to clipboard
constructor(data: Int, messageId: UUID)

Properties

Link copied to clipboard
@SerialName(value = "Data")
val data: Int

The data.

Link copied to clipboard
@SerialName(value = "MessageId")
open override val messageId: UUID

The message id.

Link copied to clipboard
open override val messageType: SessionMessageType

The different kinds of messages that are used in the WebSocket api.