added new socket manager, errorhandling and testing is not finished yet
This commit is contained in:
13
libs/React/Socket/ServerInterface.php
Normal file
13
libs/React/Socket/ServerInterface.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace React\Socket;
|
||||
|
||||
use Evenement\EventEmitterInterface;
|
||||
|
||||
/** @event connection */
|
||||
interface ServerInterface extends EventEmitterInterface
|
||||
{
|
||||
public function listen($port, $host = '127.0.0.1');
|
||||
public function getPort();
|
||||
public function shutdown();
|
||||
}
|
Reference in New Issue
Block a user