Files
expose/app/HttpServer/Controllers/Controller.php
Marcel Pociot 2b03398f40 wip
2020-04-14 21:19:23 +02:00

23 lines
431 B
PHP

<?php
namespace App\HttpServer\Controllers;
use Exception;
use Ratchet\ConnectionInterface;
use Ratchet\Http\HttpServerInterface;
abstract class Controller implements HttpServerInterface
{
public function onClose(ConnectionInterface $connection)
{
}
public function onError(ConnectionInterface $connection, Exception $e)
{
}
public function onMessage(ConnectionInterface $from, $msg)
{
}
}