PusherBroadcaster

PusherBroadcaster

class PusherBroadcaster extends Broadcaster (View source)

Methods

$this channel(string $channel, callable $callback)

Register a channel authenticator.

from Broadcaster
void __construct(Pusher $pusher)

Create a new broadcaster instance.

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.

Pusher getPusher()

Get the Pusher SDK instance.

doc_Laravel
2016-11-02 16:33:54
Comments
Leave a Comment

Please login to continue.