Esc
API Index — Namespaces, Packages, Reports, Indices
WS
Table of Contents
Classes
- CapacityException
- Thrown when WSRouter's shared
OpenSwoole\Tablesegments (ws_owner, ws_room_members) are full. App handlers catching this should respond with a clear "server at capacity" close to the WebSocket client (close code 1013 — "Try Again Later" — is the standard). - Room
- A first-class WebSocket room — cluster-wide membership, presence, fan-out + handler registration. Built on the existing v0.2.40 Store + pub/sub fabric:
- WSAuthException
- Thrown when a WebSocket routing/room operation is refused by authorization
(#234): an unauthenticated
WSRouter::ownAuthenticated(), or aRoommutation (join/leave/push) denied by the registeredWSRouter::roomAuthorizer().