Swoole\Server::getClientInfo
(PECL swoole >= 1.9.0)
Swoole\Server::getClientInfo — Get the connection info by file description.
Description
Parameters
fdFile descriptors.
reactor_idThe Reactor thread ID where the connection is made.
ignore_errorWhether to ignore errors, if set to true, connection information will be returned even if the connection is closed.
Return Values
Returns information about the client connection.
↑ and ↓ to navigate • Enter to select • Esc to close • / to open