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
<?php Swoole\Server->resume(int $fd)
The file descriptor number of the client connection you want to resume from a pause
If success, it returns 'true', otherwise it returns
Resume data receiving for the specified
After calling this method, if the client is found using
$fd the connection will be added back to the event loop so it can continue processing incoming data again.
Checkout pause for how to pause the client connection.