Broadcasting\Broadcasters

Illuminate\Broadcasting\Broadcasters Classes LogBroadcaster PusherBroadcaster RedisBroadcaster

Broadcasting

Illuminate\Broadcasting Namespaces Illuminate\Broadcasting\Broadcasters

BroadcastEvent::__construct()

void __construct(Broadcaster $broadcaster) Create a new job handler instance. Parameters Broadcaster $broadcaster Return Value void

BroadcastEvent::fire()

void fire(Job $job, array $data) Handle the queued job. Parameters Job $job array $data Return Value void

BroadcastEvent

BroadcastEvent class BroadcastEvent (View source) Methods void __construct(Broadcaster $broadcaster) Create a new job handler instance. void fire(Job $job, array $data) Handle the queued job.

Broadcaster::validAuthenticationResponse()

mixed validAuthenticationResponse(Request $request, mixed $result) Return the valid authentication response. Parameters Request $request mixed $result Return Value mixed

Broadcaster::channel()

$this channel(string $channel, callable $callback) Register a channel authenticator. Parameters string $channel callable $callback Return Value $this

Broadcaster::broadcast()

void broadcast(array $channels, string $event, array $payload = array()) Broadcast the given event. Parameters array $channels string $event array $payload Return Value void

Broadcaster::auth()

mixed auth(Request $request) Authenticate the incoming request for a given channel. Parameters Request $request Return Value mixed

Broadcaster

Broadcaster interface Broadcaster (View source) Methods mixed auth(Request $request) Authenticate the incoming request for a given channel. mixed validAuthenticationResponse(Request $request, mixed $result) Return the valid authentication response. void broadcast(array $channels, string $event, array $payload = array()) Broadcast the given event.