web/routes/channels.php

18 lines
549 B
PHP

<?php
use App\Broadcasting;
use Illuminate\Support\Facades\Broadcast;
/*
|--------------------------------------------------------------------------
| Broadcast Channels
|--------------------------------------------------------------------------
|
| Here you may register all of the event broadcasting channels that your
| application supports. The given channel authorization callbacks are
| used to check if an authenticated user can listen to the channel.
|
*/
Broadcast::channel('game-servers.{uuid}', Broadcasting\GameServerChannel::class);