Open thePanz opened 9 months ago
Note: the use Amp\Http\Client\Psr7\PsrHttpClient is still a WIP, and the support for PSR-18 has been added only on the v2 branch
Only on that branch the PsrHttpClient is implementing the ClientInterface
Note: The library only supports the psr/http-message:v1 contract
Implement support for amphp/http-client-psr7
Some notes:
v2.x
master
Composer/Plugin.php
Linked PR is now merged. Until https://github.com/amphp/http-client-psr7/pull/10#issuecomment-2068752454 is resolved, this should also install guzzle's PSR-7.
Note: the use Amp\Http\Client\Psr7\PsrHttpClient is still a WIP, and the support for PSR-18 has been added only on the v2 branch
Only on that branch the PsrHttpClient is implementing the ClientInterface
Note: The library only supports the psr/http-message:v1 contract
What's in this PR?
Implement support for amphp/http-client-psr7
Some notes:
v2.x
branch is effectively implements the PSR ClientInterface, but relies on psr/http-message v1master
last commit: 3 years ago,v2.x
last commit: 2 years ago)Checklist
To Do
Composer/Plugin.php
according to the documentation, by adding amphp/http-client-psr7