RedisBroadcaster (Broadcasting\Broadcasters)
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. |
Details
$this channel(string $channel, callable $callback)
Register a channel authenticator.
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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Broadcasting/Broadcasters/RedisBroadcaster.html