You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Pusher to broadcast events to a React front-end. It's working spot on, however we're exposing full class names in our JS in order to listen for that event. Is there anyway to override the event name from say App\Events\MySomethingEvent to app.myevent?
Cheers!
The text was updated successfully, but these errors were encountered:
I've just read this issue laravel/framework#10236 and realize that we could override the broadcast event name. Maybe it should be added to doc.
P.S: I'm not english, sorry if it's unreadable.
Hi folks,
I'm using Pusher to broadcast events to a React front-end. It's working spot on, however we're exposing full class names in our JS in order to listen for that event. Is there anyway to override the event name from say
App\Events\MySomethingEvent
toapp.myevent
?Cheers!
The text was updated successfully, but these errors were encountered: