commit
This commit is contained in:
parent
9f2221715e
commit
db45947b48
|
|
@ -11,7 +11,6 @@ use BeyondCode\LaravelWebSockets\WebSockets\Controllers\WebSocketHandler;
|
||||||
use Ratchet\WebSocket\MessageComponentInterface;
|
use Ratchet\WebSocket\MessageComponentInterface;
|
||||||
use Ratchet\WebSocket\WsServer;
|
use Ratchet\WebSocket\WsServer;
|
||||||
use Symfony\Component\Routing\Route;
|
use Symfony\Component\Routing\Route;
|
||||||
use Ratchet\Http\HttpServerInterface;
|
|
||||||
use Symfony\Component\Routing\RouteCollection;
|
use Symfony\Component\Routing\RouteCollection;
|
||||||
use BeyondCode\LaravelWebSockets\Exceptions\InvalidWebSocketController;
|
use BeyondCode\LaravelWebSockets\Exceptions\InvalidWebSocketController;
|
||||||
|
|
||||||
|
|
@ -40,8 +39,6 @@ class Router
|
||||||
$this->post('/apps/{appId}/events', TriggerEventController::class);
|
$this->post('/apps/{appId}/events', TriggerEventController::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public function get(string $uri, $action)
|
public function get(string $uri, $action)
|
||||||
{
|
{
|
||||||
$this->addRoute('GET', $uri, $action);
|
$this->addRoute('GET', $uri, $action);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue