Documentation
Dlang.org
WebSocketConnection.sendTextMessage
handy_http_websockets
connection
WebSocketConnection
Sends a text message to the connected client.
class
WebSocketConnection
void
sendTextMessage
(
string
text
)
Parameters
text
string
The text to send. Should be valid UTF-8.
handy_http_websockets
connection
WebSocketConnection
constructors
this
functions
close
getMessageHandler
getRequestHandler
sendBinaryMessage
sendCloseMessage
sendTextMessage
variables
id
inputStream
outputStream
Sends a text message to the connected client.