RedisBroadcaster
class RedisBroadcaster implements Broadcaster (View source)
Properties
protected Database | $redis | The Redis instance. | |
protected string | $connection | The Redis connection to use for broadcasting. |
Methods
void | __construct(Database $redis, string $connection = null) Create a new broadcaster instance. | |
void | broadcast(array $channels, string $event, array $payload = []) Broadcast the given event. |
Details
void __construct(Database $redis, string $connection = null)
Create a new broadcaster instance.
void broadcast(array $channels, string $event, array $payload = [])
Broadcast the given event.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.2/Illuminate/Broadcasting/Broadcasters/RedisBroadcaster.html