Swoole Server pause

public void Swoole\Server::pause ( int $fd )

Alias: swoole_server->pause( int $fd )

Pause the data receiving for the $fd client.

Only available in SWOOLE_BASE mode.

Parameter

  • $fd the id number of client

Return

The result of pausing

Example