Documentation
Dlang.org
WebSocketRequestHandler.broadcast
handy_http_websockets
handler
WebSocketRequestHandler
Broadcasts a message to all connected clients.
void
broadcast
(string text)
class
WebSocketRequestHandler
void
broadcast
(
string
text
)
void
broadcast
(ubyte[] data)
Parameters
text
string
The text to send to all clients.
handy_http_websockets
handler
WebSocketRequestHandler
constructors
this
functions
addConnection
broadcast
connectionCount
handle
removeConnection
Broadcasts a message to all connected clients.