Swoole\Server
PHP Manual

Swoole\Server::connection_info

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

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

说明

public array Swoole\Server::connection_info ( integer $fd [, integer $reactor_id ] )

参数

fd

reactor_id

返回值


Swoole\Server
PHP Manual