Swoole\Server::getClientInfo
(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.
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/swoole-server.getclientinfo.php