mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
23 lines
431 B
PHP
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)
|
|
{
|
|
}
|
|
}
|