\React\SocketServerInterface

Summary

Methods
Constants
on()
once()
removeListener()
removeAllListeners()
listeners()
emit()
listen()
getPort()
shutdown()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

on()

on(  $event, callable  $listener) 

Parameters

$event
callable $listener

once()

once(  $event, callable  $listener) 

Parameters

$event
callable $listener

removeListener()

removeListener(  $event, callable  $listener) 

Parameters

$event
callable $listener

removeAllListeners()

removeAllListeners(  $event = null) 

Parameters

$event

listeners()

listeners(  $event) 

Parameters

$event

emit()

emit(  $event, array  $arguments = array()) 

Parameters

$event
array $arguments

listen()

listen(  $port,   $host = '127.0.0.1') 

Parameters

$port
$host

getPort()

getPort() 

shutdown()

shutdown()