PHP Class Cmosguy\Broadcasting\Broadcasters\PushStreamBroadcaster

Inheritance: implements Illuminate\Contracts\Broadcasting\Broadcaster
Afficher le fichier Open project: cmosguy/laravel-http-pushstream-broadcaster

Méthodes publiques

Méthode Description
__construct ( Client $client ) PushStreamBroadcaster constructor.
broadcast ( array $channels, string $event, array $payload = [] ) : void Broadcast the given event.

Method Details

__construct() public méthode

PushStreamBroadcaster constructor.
public __construct ( Client $client )
$client GuzzleHttp\Client

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