RedisBroadcaster

RedisBroadcaster

class RedisBroadcaster extends Broadcaster (View source)

Methods

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

Register a channel authenticator.

from Broadcaster
void __construct(Database $redis, string $connection = null)

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.

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

Please login to continue.