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

[2.x] Fix Websocket Handlers registration #735

Merged
merged 1 commit into from
Apr 6, 2021
Merged

Conversation

rennokki
Copy link
Collaborator

@rennokki rennokki commented Apr 6, 2021

Closes #731 #660

Registering custom websocket handlers can now be done like this:

WebSocketsRouter::addCustomRoute('GET', '/my-websocket', \App\MyCustomWebSocketHandler::class);

@rennokki rennokki merged commit 9dbc38a into master Apr 6, 2021
@rennokki rennokki deleted the fix/websocket-handlers branch April 6, 2021 14:31
@Noext
Copy link

Noext commented Sep 30, 2021

should be add this to the documentation , maybe people will waste less time finding the rigth way to add new custom route

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[2.x] Error when starting websocket with custom handler.
2 participants