SocketOptionInterface
interface SocketOptionInterface
Methods
string
getHost()
Get the socket host.
int
getPort()
Get the socket port.
float|null
getTimeout()
Connect timeout, seconds.
array
getProtocol()
Get the Swoole protocol configuration.
Details
at line 12
string
getHost()
Get the socket host.
at line 17
int
getPort()
Get the socket port.
at line 22
float|null
getTimeout()
Connect timeout, seconds.
at line 35
array
getProtocol()
Get the Swoole protocol configuration.