Files
uce/site/doc/pages/ws_connections.txt
T
2026-06-16 12:21:31 +00:00

18 lines
491 B
Plaintext

:sig
StringList ws_connections(String scope = "")
:params
scope : optional scope identifier, defaults to the current WebSocket page scope
return value : list of connection IDs currently connected to that scope
:see
>websocket
:content
Returns the currently connected WebSocket client IDs for the given scope.
If `scope` is omitted, the current page scope is used.
:example
print("ws_connections is resource-bound; configure the service or connection, then call it in request code.\n");