Join 4,000+ others and never miss out on new tips, tutorials, and more.
4.x is outdated, please check the latest version 22.x
pecl install openswoole-22.0.0
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
SWOOLE_PROCESSmode, 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.