amphp / http-client

An advanced async HTTP client library for PHP, enabling efficient, non-blocking, and concurrent requests and responses.

Home Page:https://amphp.org/http-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Class "Amp\Http\Rfc7230" not found

xcgu opened this issue · comments

commented

Hi

It seems there is a problem in the latest version of amp http-client

Class "Amp\Http\Rfc7230" not found in /var/www/html/dir/vendor/amphp/http-client/src/Connection/Http1Connection.php:667

You should use tagged beta versions only.
Latest dev versions not compatable yet.

Check example of my composer.json:

https://github.com/xtrime-ru/TelegramRSS/blob/v4/composer.json

Main part:

 "prefer-stable": true,
 "minimum-stability": "dev",