Subversion Repositories php-qbpwcf

Rev

Rev 3 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 liveuser 1
<?php
2
namespace Ratchet\Http;
3
use Ratchet\ConnectionInterface;
4
use Psr\Http\Message\RequestInterface;
5
 
6
class NoOpHttpServerController implements HttpServerInterface {
7
    public function onOpen(ConnectionInterface $conn, RequestInterface $request = null) {
8
    }
9
 
10
    public function onMessage(ConnectionInterface $from, $msg) {
11
    }
12
 
13
    public function onClose(ConnectionInterface $conn) {
14
    }
15
 
16
    public function onError(ConnectionInterface $conn, \Exception $e) {
17
    }
18
}