Swoole\Connection\Iterator::count

(PECL swoole >= 1.9.0)

Swoole\Connection\Iterator::countCount connections.

Description

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

Gets the number of connections.

Parameters

This function has no parameters.

Return Values

The number of connections.