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_send_message() 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

Meta

Since

2.50