cleanup, docs
This commit is contained in:
@@ -14,4 +14,5 @@ return value : true if the target connection exists and the message was queued
|
||||
Queues a WebSocket message for one specific connected client.
|
||||
|
||||
:example
|
||||
print("ws_send_to is resource-bound; configure the service or connection, then call it in request code.\n");
|
||||
bool sent = ws_send_to("example-connection-id", "direct message");
|
||||
print(sent ? "message queued" : "no such connection", "\n");
|
||||
|
||||
Reference in New Issue
Block a user