send

fun send(message: ServerMessage)

Sends a ServerMessage as a text frame.

Throws

if the session is not initialized