send

fun send(message: ServerMessage)

Sends a ServerMessage as a text frame, opening (or reopening) the session if needed.