Broadcaster
in
Table of Contents
- auth() : mixed
- Authenticate the incoming request for a given channel.
- broadcast() : void
- Broadcast the given event.
- validAuthenticationResponse() : mixed
- Return the valid authentication response.
Methods
auth()
Authenticate the incoming request for a given channel.
public
auth(Request $request) : mixed
Parameters
- $request : Request
Return values
mixed —broadcast()
Broadcast the given event.
public
broadcast(array<string|int, mixed> $channels, string $event[, array<string|int, mixed> $payload = [] ]) : void
Parameters
- $channels : array<string|int, mixed>
- $event : string
- $payload : array<string|int, mixed> = []
Return values
void —validAuthenticationResponse()
Return the valid authentication response.
public
validAuthenticationResponse(Request $request, mixed $result) : mixed
Parameters
- $request : Request
- $result : mixed