You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks to fibers, the amphp/http-client v5 has a "sync" interface: it gets rid of promises & generators. It is now possible to implement the PSR-18: HTTP Client.
That's a matter of adoption. Once major sdks will use this interface instead of requiring guzzle or symfony http-client directly (see FriendsOfPHP/well-known-implementations#2), it will be possible to use them asynchronously in an AMP event-loop.
I'm opening this issue to gather feedbacks and find if there is something already existing.
Thanks to fibers, the
amphp/http-client v5
has a "sync" interface: it gets rid of promises & generators. It is now possible to implement the PSR-18: HTTP Client.Benefits:
psr/http-client-implementation
could become asynchronous when used with AMP.The text was updated successfully, but these errors were encountered: