This repository was archived by the owner on Feb 7, 2024. It is now read-only.
This repository was archived by the owner on Feb 7, 2024. It is now read-only.
Multiple Websockets routes #412
Closed
Description
I have multiple websockets handlers and when defining the routes, I can indeed only access the defined routes the rest will return 404 but for some reason only the last defined controller is called.. (Can check by dumping on the onOpen handler)
WebSocketsRouter::webSocket('ws/site', \App\Http\WebSocket\Site::class); //The admin controller is used when accessing /ws/site
WebSocketsRouter::webSocket('ws/admin', \App\Http\WebSocket\Admin::class);
Am I missing something or is there a huge bug there?