This commit is contained in:
Marcel Pociot 2018-11-22 11:22:16 +01:00
parent b575f57224
commit fbd26ee7ff
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ use Ratchet\RFC6455\Messaging\MessageInterface;
use BeyondCode\LaravelWebSockets\WebSocketController;
use BeyondCode\LaravelWebSockets\LaravelEcho\Pusher\Channels\ChannelManager;
class EchoServer extends WebSocketController
class PusherServer extends WebSocketController
{
/** @var \BeyondCode\LaravelWebSockets\LaravelEcho\Pusher\Channels\ChannelManager */
protected $channelManager;

View File

@ -66,7 +66,7 @@ class Router
public function echo()
{
//TODO: add origin checker middleware
$this->get('/app/{appId}', LaravelEcho\WebSocket\EchoServer::class);
$this->get('/app/{appId}', LaravelEcho\WebSocket\PusherServer::class);
// TODO: fleshen out http API
$this->get('/apps/{appId}/status', LaravelEcho\Http\Controllers\StatusController::class);