interface
Illuminate
/
Contracts
/
Broadcasting
/
Broadcaster
You are viewing an older version of the documentation. For the latest, please visit master documentation.
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