WebsocketConnection.sendText

Send a null-terminated text (UTF-8) message to the peer.

If you need to send text messages containing null characters use soup.websocket_connection.WebsocketConnection.sendMessage instead.

The message is queued to be sent and will be sent when the main loop is run.

class WebsocketConnection
void
sendText
(
string text
)

Parameters

text string

the message contents