ServerMessageType

sealed interface ServerMessageType

A type of message sent a client to the server as a WebSocket.

See also

Inheritors

Properties

Link copied to clipboard
abstract val endpoint: String

URL endpoint that the message should be sent to.

Functions

Link copied to clipboard
abstract suspend fun send(session: DefaultClientWebSocketSession)

Sends the message to a WebSocket server.