MultiCurl
The MultiCurl class allows you to execute arbitrary code while waiting for responses., (*1)
Code can run between reading responses or before the first response., (*2)
Usage
For examples, see example.php and example-callback.php, (*3)
To run the examples, run composer install.
Make public/sleep.php available via your web server and change the URL in bootstrap.php, (*4)
Installation
This package can be installed via composer composer require rinu/multi-curl, (*5)