Swoole\Connection\Iterator::count

(PECL swoole >= 1.9.0)

Swoole\Connection\Iterator::countCount connections.

說(shuō)明

public Swoole\Connection\Iterator::count(): int

Gets the number of connections.

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

The number of connections.