send_text


Description:

public void send_text (string text)

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

If you need to send text messages containing null characters use [method@WebsocketConnection.send_message] instead.

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

Parameters:

this

the WebSocket

text

the message contents