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.

Description

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

Parameters

fd

reactor_id

Return Values


Swoole\Server
PHP Manual