PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

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 Swoole\Server::connection_info ( integer $fd [, integer $reactor_id ] ) : array

参数

fd

reactor_id

返回值