16 lines
510 B
Plaintext
16 lines
510 B
Plaintext
:sig
|
|
String ws_scope()
|
|
|
|
:params
|
|
return value : scope identifier of the current WebSocket endpoint
|
|
|
|
:desc
|
|
Returns the runtime's scope identifier for the current WebSocket endpoint.
|
|
|
|
This is the same default scope used by `ws_send()`, `ws_broadcast()`, `ws_connections()`, and `ws_connection_count()` when no explicit scope is supplied.
|
|
|
|
In the current runtime implementation this scope is the page's internal endpoint identifier, typically the absolute `SCRIPT_FILENAME` of the `.ws.uce` file.
|
|
|
|
:see
|
|
>websocket
|