PHP Class Clue\React\Buzz\Io\UnixConnector

The path to connect to is set once during instantiation, the actual target host is then ignored. Unix domain sockets use atomic operations, so we can as well emulate async behavior.
Inheritance: implements React\SocketClient\ConnectorInterface
Show file Open project: clue/buzz-react Class Usage Examples

Public Methods

Method Description
__construct ( React\EventLoop\LoopInterface $loop, $path )
create ( $host, $port )

Method Details

__construct() public method

public __construct ( React\EventLoop\LoopInterface $loop, $path )
$loop React\EventLoop\LoopInterface

create() public method

public create ( $host, $port )