-
-
Notifications
You must be signed in to change notification settings - Fork 61
Description
If you're currently using this project, you may want to check out the successor https://github.com/reactphp/http instead 🎉 We've merged all code and logic from this project into the new react/http
package. We've migrated public APIs from https://github.com/clue/reactphp-buzz so this project now supports async HTTP requests using a Promise-based API using PSR-7 message abstractions:
$browser = new React\Http\Browser($loop);
$browser->get($url)->then(function(Psr\Http\Message\ResponseInterface $response) {
echo $response->getBody();
});
This project may see some smaller adjustments / fixes in the future, but all development efforts and new features will focus on react/http
instead. Upgrading is highly recommended.
We're planning to soft-deprecate this project in the future after a reasonable transition period. We want to ensure a smooth upgrade path and will not break any existing implementations, so you can keep installing old versions from this project, but should not expect any major changes and feature additions.
Head over to https://github.com/reactphp/http and rock on! 🤘
Refs reactphp/http#368