This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
How to listen for laravel-websockets events? #1171
Unanswered
yasuhiro1231
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've set up events, like it was described here
https://github.com/beyondcode/laravel-websockets/blob/master/docs/advanced-usage/dispatched-events.md
but they are not dispatching when I connect or disconnect to websockets. I have
QUEUE_CONNECTION=sync settings, no redis.
My code.
EventServiceProvider:
HandleNewConnections.php:
I don't see new log text after connecting. What can I do to make it work?
Beta Was this translation helpful? Give feedback.
All reactions