array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'swoole-server.getclientinfo.php', 1 => 'Swoole\\Server::getClientInfo', 2 => 'Get the connection info by file description.', ), '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', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Swoole\Server::getClientInfo

(PECL swoole >= 1.9.0)

Swoole\Server::getClientInfoGet the connection info by file description.

Açıklama

public Swoole\Server::getClientInfo(int $fd, int $reactor_id = ?, bool $ignore_error = ?): array

Bağımsız Değişkenler

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.

Dönen Değerler

Returns information about the client connection.