wip
This commit is contained in:
parent
90518976f5
commit
db4eeb3813
|
|
@ -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.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue