Registry / http-client / amphp-artax

amphp-artax

JSON →
library3.0.14phppackagistunverified

Asynchronous parallel HTTP/1.1 client built on the Amp concurrency framework.

composer require amphp/artax
INSTALL
IMPORT
SIG · AMPHP-ARTAX
A
amphp-artax
http-clientphpv3.0.14
harness data pending
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.

DefaultClient
use Amp\Artax\DefaultClient;

Make an asynchronous HTTP request

<?php use Amp\Artax\DefaultClient; $client = new DefaultClient(); $response = Amp\call(function () use ($client) { return yield $client->request('http://example.com'); });
Debug
Known issues
gotchaRequires amphp/amp and amphp/loop for async operations.
fix
Install amphp/amp and ensure an event loop is running.
affects: *
Upgrade
Version history
3.0.14latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
40 hits · last 30 days
node
36
OpenAI (training)
1
Resources
amphp-artax — pip install amphp-artax · libregistry