Registry / http-client / react-http-client

react-http-client

JSON →
library0.5.11phppackagistunverified

Event-driven, streaming HTTP client for ReactPHP

http-clientasync
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

use React\HttpClient\Client;

Make an HTTP GET request using ReactPHP's event-driven client.

use React\HttpClient\Client; use React\EventLoop\Factory; $loop = Factory::create(); $client = new Client($loop); $request = $client->request('GET', 'https://example.com'); $request->on('response', function ($response) { // handle response }); $request->end(); $loop->run();
Debug
Known footguns
breakingVersion 0.5.x is outdated; consider using react/http (v1.0+) instead
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
0 hits · last 30 days

No traffic data recorded yet.

Resources