array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'swoole-server.getclientinfo.php', 1 => 'Swoole\\Server::getClientInfo', ), 'up' => array ( 0 => 'class.swoole-server.php', 1 => 'Swoole\\Server', ), 'prev' => array ( 0 => 'swoole-server.finish.php', 1 => 'Swoole\\Server::finish', ), 'next' => array ( 0 => 'swoole-server.getclientlist.php', 1 => 'Swoole\\Server::getClientList', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/swoole/swoole/server/getclientinfo.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL swoole >= 1.9.0)
Swoole\Server::getClientInfo — Get the connection info by file description.
fd
File descriptors.
reactor_id
The Reactor thread ID where the connection is made.
ignore_error
Whether to ignore errors, if set to true, connection information will be returned even if the connection is closed.
Returns information about the client connection.