sendMessage

open fun sendMessage(message: String)

Sends a message to the server. This triggers an onEvent method to be called, with the type `custom`, and the body is the message.

Parameters

message

the message to send to the server