TrackManiaControl/libs/React/Socket/ServerInterface.php

14 lines
274 B
PHP
Raw Normal View History

<?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();
}