Skip to content
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
Closed
@Tofandel

Description

@Tofandel

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    postponedWill be postponed until further notice

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions