16 lines
366 B
Plaintext
16 lines
366 B
Plaintext
:sig
|
|
bool ws_send_to(String connection_id, String message)
|
|
|
|
:params
|
|
connection_id : ID of the target WebSocket client
|
|
message : text message to send
|
|
return value : true if the target connection exists and the message was queued
|
|
|
|
:desc
|
|
Queues a text WebSocket message for one specific connected client.
|
|
|
|
This helper currently sends text frames only.
|
|
|
|
:see
|
|
>websocket
|