An open API service indexing awesome lists of open source software.

https://github.com/rinu/multi-curl

Parallel curl requests and working while waiting
https://github.com/rinu/multi-curl

curl-multi php7

Last synced: 3 months ago
JSON representation

Parallel curl requests and working while waiting

Awesome Lists containing this project

README

          

# MultiCurl

The MultiCurl class allows you to execute arbitrary code while waiting for responses.

Code can run between reading responses or before the first response.

## Usage

For examples, see `example.php` and `example-callback.php`

To run the examples, run `composer install`.
Make `public/sleep.php` available via your web server and change the URL in `bootstrap.php`

## Installation

This package can be installed via composer `composer require rinu/multi-curl`