« Swoole\Server::finish
Swoole\Server::getClientList »

Swoole\Server::getClientInfo

(PECL swoole >= 1.9.0)

Swoole\Server::getClientInfo — Get the connection info by file description.

説明

public function Swoole\Server::getClientInfo(int $fd, int $reactor_id = ?, bool $ignore_error = ?): array

パラメータ

fd

File descriptors.

reactor_id

The Reactor thread ID where the connection is made.

ignore_error

Whether to ignore errors, if set to true, connection information will be returned even if the connection is closed.

戻り値

Returns information about the client connection.

関連キーワード:
connection   Swoole   Server   info   description   getClientInfo   ignore   reactor   information   finish   getClientList   swoole   descriptors   Reactor   thread   made   Whether   errors   returned   even   closed   about   client
関連する関数・ページ:
swoole-server.connection-info   swoole-server.close   swoole-server.confirm   swoole-server.connection-list   swoole-server.sendfile   swoole-server.send