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.

Custom WebSocket Handlers - Class 'WebSocketsRouter' not found #301

@ahmadsyamim

Description

@ahmadsyamim

Referring from :-
https://docs.beyondco.de/laravel-websockets/1.0/advanced-usage/custom-websocket-handlers.html

After adding
WebSocketsRouter::webSocket('/my-websocket', \App\MyCustomWebSocketHandler::class);

Getting error
Custom WebSocket Handlers - Class 'WebSocketsRouter' not found

Also referred to #21

But causing all other socket somehow (like redirect to MyCustomWebSocketHandler)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions