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
php-http/curl-client package is working with Psr\Http\Message\... interfaces. But php-http/message package implements Http\Message\... interfaces.
When I changed the version "php-http/curl-client": "^2.0" to "^1.7", the incompatibility is solved. Curl client works with Http\Message\... interfaces on ^1.7 version.
So, what is standard?
Which versions of php-http packages work compatible with each other?
The text was updated successfully, but these errors were encountered:
http://docs.php-http.org/en/latest/clients/curl-client.html
I just followed steps on the page.
And there are 2 packages now in my
composer.json
:http://docs.php-http.org/en/latest/clients/curl-client.html#usage
I've copied one of these code snippets and I noticed there is an incompatibility.
php-http/curl-client
package is working withPsr\Http\Message\...
interfaces. Butphp-http/message
package implementsHttp\Message\...
interfaces.When I changed the version
"php-http/curl-client": "^2.0"
to"^1.7"
, the incompatibility is solved. Curl client works withHttp\Message\...
interfaces on^1.7
version.So, what is standard?
Which versions of
php-http
packages work compatible with each other?The text was updated successfully, but these errors were encountered: