I am using pusher for driver, I've been trying to get laravel chat working, I think I have everything set up correctly until the auth request is fired after Echo initialization,
Broadcast::channel('messages.{id}', function ($user, $id) { return (int) $user->id === (int) $id; });
this is what my broadcast route looks like. Does anyone have any idea what is the problem with my request ?
let me know if info provided is insufficient.
PS. I have already uncomment App\Providers\BroadcastServiceProvider::class,
line in my app.php
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire