trait InteractsWithSockets (View source)
string|null | $socket | The socket ID for the user that raised the event. |
$this | dontBroadcastToCurrentUser() Exclude the current user from receiving the broadcast. | |
$this | broadcastToEveryone() Broadcast the event to everyone. |
Exclude the current user from receiving the broadcast.
Broadcast the event to everyone.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Broadcasting/InteractsWithSockets.html