OpenSwoole Server resume

Latest version: pecl install openswoole-22.1.2 | composer require openswoole/core:22.1.5

Declaration

<?php OpenSwoole\Server->resume(int $fd)

Parameters

fd

The file descriptor number of the client connection you want to resume from a pause

Return

success

If success, it returns 'true', otherwise it returns false.

Description

Resume data receiving for the specified $fd client.

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.

Last updated on September 1, 2022