Join 4,000+ others and never miss out on new tips, tutorials, and more.
pecl install openswoole-22.0.0 | composer require openswoole/core:22.1.2
The file descriptor number of the client connection you want to pause
If success, it returns 'true', otherwise it returns
Pauses the data receiving for the specified
Things to consider
OpenSwoole\Server::POOL_MODEmode, calling this method may still allow some data to be received before it is actually paused, which could trigger the
Checkout resume for how to restart the client connection.