PHP Class Laravoole\LaravooleBroadcaster

Inheritance: extends Illuminate\Broadcasting\Broadcasters\Broadcaster
Afficher le fichier Open project: acabin/laravoole

Méthodes publiques

Méthode Description
auth ( Illuminate\Http\Request $request ) : mixed Authenticate the incoming request for a given channel.
broadcast ( array $channels, string $event, array $payload = [] ) : void Broadcast the given event.
validAuthenticationResponse ( Illuminate\Http\Request $request, mixed $result ) : mixed Return the valid authentication response.

Method Details

auth() public méthode

Authenticate the incoming request for a given channel.
public auth ( Illuminate\Http\Request $request ) : mixed
$request Illuminate\Http\Request
Résultat mixed

broadcast() public méthode

Broadcast the given event.
public broadcast ( array $channels, string $event, array $payload = [] ) : void
$channels array
$event string
$payload array
Résultat void

validAuthenticationResponse() public méthode

Return the valid authentication response.
public validAuthenticationResponse ( Illuminate\Http\Request $request, mixed $result ) : mixed
$request Illuminate\Http\Request
$result mixed
Résultat mixed