array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'swoole-server.connection-info.php', 1 => 'Swoole\\Server::connection_info', 2 => 'Get the connection info by file description.', ), 'up' => array ( 0 => 'class.swoole-server.php', 1 => 'Swoole\\Server', ), 'prev' => array ( 0 => 'swoole-server.confirm.php', 1 => 'Swoole\\Server::confirm', ), 'next' => array ( 0 => 'swoole-server.connection-list.php', 1 => 'Swoole\\Server::connection_list', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/swoole/swoole/server/connection-info.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Swoole\Server::connection_info

(PECL swoole >= 1.9.0)

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

説明

public Swoole\Server::connection_info(int $fd, int $reactor_id = ?): array

パラメータ

fd

reactor_id

戻り値