actions/register_ws_endpoint.ts view source
(options: RegisterWsEndpointOptions): RegisterActionWsResult Mount a WebSocket endpoint with the standard upgrade stack (origin check + auth + actor resolution + optional role) and JSON-RPC dispatch.
Returns the BackendWebsocketTransport (supplied or freshly
created), same as register_action_ws — retain it to wire
create_ws_auth_guard on on_audit_event or to broadcast.
options
returns
RegisterActionWsResult