This commit is contained in:
Marcel Pociot 2018-11-26 09:15:39 +01:00
parent 90518976f5
commit db4eeb3813
7 changed files with 9 additions and 9 deletions

View File

@ -7,7 +7,7 @@ return [
/** /**
* This package comes with multi tenancy out of the box. Here you can * This package comes with multi tenancy out of the box. Here you can
* configure the diffente clients that can use the webSockets server. * configure the different clients that can use the webSockets server.
* *
* You should make sure that the app id is numeric. * You should make sure that the app id is numeric.
*/ */

View File

@ -1,6 +1,6 @@
<?php <?php
namespace BeyondCode\LaravelWebsockets\Http\Controllers; namespace BeyondCode\LaravelWebSockets\Http\Controllers;
use Illuminate\Http\Request; use Illuminate\Http\Request;
use Illuminate\Contracts\Broadcasting\Broadcaster; use Illuminate\Contracts\Broadcasting\Broadcaster;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace BeyondCode\LaravelWebsockets\Http\Controllers; namespace BeyondCode\LaravelWebSockets\Http\Controllers;
use Pusher\Pusher; use Pusher\Pusher;
use Illuminate\Http\Request; use Illuminate\Http\Request;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace BeyondCode\LaravelWebsockets\Http\Controllers; namespace BeyondCode\LaravelWebSockets\Http\Controllers;
use Illuminate\Http\Request; use Illuminate\Http\Request;
use BeyondCode\LaravelWebSockets\ClientProviders\ClientProvider; use BeyondCode\LaravelWebSockets\ClientProviders\ClientProvider;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace BeyondCode\LaravelWebsockets\Http\Middleware; namespace BeyondCode\LaravelWebSockets\Http\Middleware;
use Illuminate\Support\Facades\Gate; use Illuminate\Support\Facades\Gate;

View File

@ -1,8 +1,8 @@
<?php <?php
use BeyondCode\LaravelWebsockets\Http\Controllers\AuthenticateDashboard; use BeyondCode\LaravelWebSockets\Http\Controllers\AuthenticateDashboard;
use BeyondCode\LaravelWebsockets\Http\Controllers\SendMessage; use BeyondCode\LaravelWebSockets\Http\Controllers\SendMessage;
use BeyondCode\LaravelWebsockets\Http\Controllers\ShowDashboard; use BeyondCode\LaravelWebSockets\Http\Controllers\ShowDashboard;
Route::get('/', ShowDashboard::class); Route::get('/', ShowDashboard::class);
Route::post('/auth', AuthenticateDashboard::class); Route::post('/auth', AuthenticateDashboard::class);

View File

@ -10,7 +10,7 @@ use Ratchet\RFC6455\Messaging\MessageInterface;
use BeyondCode\LaravelWebSockets\WebSocketController; use BeyondCode\LaravelWebSockets\WebSocketController;
use BeyondCode\LaravelWebSockets\ClientProviders\Client; use BeyondCode\LaravelWebSockets\ClientProviders\Client;
use BeyondCode\LaravelWebSockets\LaravelEcho\Pusher\Channels\ChannelManager; use BeyondCode\LaravelWebSockets\LaravelEcho\Pusher\Channels\ChannelManager;
use BeyondCode\LaravelWebsockets\LaravelEcho\Pusher\Exceptions\PusherException; use BeyondCode\LaravelWebSockets\LaravelEcho\Pusher\Exceptions\PusherException;
use BeyondCode\LaravelWebSockets\LaravelEcho\Pusher\Exceptions\UnknownAppKeyException; use BeyondCode\LaravelWebSockets\LaravelEcho\Pusher\Exceptions\UnknownAppKeyException;
class PusherServer extends WebSocketController class PusherServer extends WebSocketController