Swoole\Server
PHP Manual

Swoole\Server::getClientInfo

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

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

说明

public ReturnType Swoole\Server::getClientInfo ( integer $fd [, integer $reactor_id ] )

参数

fd

reactor_id

返回值


Swoole\Server
PHP Manual