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.

Return Value

string

at line 17
int getPort()

Get the socket port.

Return Value

int

at line 22
float|null getTimeout()

Connect timeout, seconds.

Return Value

float|null

at line 35
array getProtocol()

Get the Swoole protocol configuration.

Return Value

array