Broadcaster
interface Broadcaster (View source)
Methods
mixed | auth(Request $request) Authenticate the incoming request for a given channel. | |
mixed | validAuthenticationResponse(Request $request, mixed $result) Return the valid authentication response. | |
void | broadcast(array $channels, string $event, array $payload = []) Broadcast the given event. |
Details
mixed auth(Request $request)
Authenticate the incoming request for a given channel.
mixed validAuthenticationResponse(Request $request, mixed $result)
Return the valid authentication response.
void broadcast(array $channels, string $event, array $payload = [])
Broadcast the given event.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/6.x/Illuminate/Contracts/Broadcasting/Broadcaster.html