This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Description
Hi,
there already do exist API handlers in websockets.php ('/fetch_channels, fetchusers, health ...) which can be extended but there is no way to add a new route like /updateGameStats and link a handler class to it.
The reason behind this is that this would allow to have a backend triggered Action by calling a custom API endpoint.
Up to now its only possible to react to specific connection / subscription events or incoming messages. There is no way of having a laravel app trigger a backend event and handle it in the websocket context with access to Channelmanager etc; calling a custom api route would allow to implement needed logic in the handler class.