uce/site/doc/pages/ws_send_to.txt

15 lines
406 B
Plaintext

:sig
bool ws_send_to(String connection_id, String message, bool binary = false)
:params
connection_id : ID of the target WebSocket client
message : message payload to send
binary : set to true to send a binary frame instead of a text frame
return value : true if the target connection exists and the message was queued
:desc
Queues a WebSocket message for one specific connected client.
:see
>websocket