The BabDev\WebSocket\Server\WAMP\Middleware\UpdateTopicSubscriptions class is a server middleware which updates the topic registry as connections are opened and closed.
It is recommended that this middleware is decorated by the BabDev\WebSocket\Server\WebSocket\Middleware\ParseWAMPMessage middleware in your application (see the message flow section from the architecture documentation to see the recommended stack with all optional middleware), however it can be decorated by any WAMP server middleware.
It is also recommended that this middleware decorates the use BabDev\WebSocket\Server\WAMP\Middleware\DispatchMessageToHandler middleware, but it can decorate any WAMP server middleware.
How can I help you explore Laravel packages today?