| 1 | <?php |
||
| 21 | class Server extends \React\Socket\Server |
||
| 22 | { |
||
| 23 | private $loop; |
||
|
1 ignored issue
–
show
|
|||
| 24 | |||
| 25 | 4 | public function __construct(LoopInterface $loop) |
|
| 30 | |||
| 31 | /** |
||
| 32 | * Handle the connection. We only emit the connection event after the proper header was received. |
||
| 33 | * @param $socket |
||
| 34 | */ |
||
| 35 | 2 | public function handleConnection($socket) |
|
| 52 | |||
| 53 | /** |
||
| 54 | * @param $socket |
||
| 55 | * @return ProxyConnection |
||
| 56 | */ |
||
| 57 | 2 | public function createConnection($socket) |
|
| 61 | } |