interface
Illuminate
/
Contracts
/
Broadcasting
/
Broadcaster
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
Broadcaster
Methods
public
auth ( $request ) : mixed
Authenticate the incoming request for a given channel.
Parameters
- $request Request
public
validAuthenticationResponse ( $request , $result ) : mixed
Return the valid authentication response.
Parameters
- $request Request
- $result mixed
public
broadcast ( array $channels , $event , array $payload ) : void
Broadcast the given event.
Parameters
- $channels array
- $event string
- $payload array