react-websocket/doc/ObjectUserdata.md

321 B

Object UserData

There is no support for userdata on WebSocketInterface, WebSocketConnection or ConnectionGroup.

The rationale for this is that the connections can be easily managed using SplObjectStorage to link to a data object. Similarly, for groups, the names should be unique and can be used for lookups.