Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Armin Cifuentes committed Nov 21, 2017
1 parent 6515d06 commit 2f2249f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
- Relentlessly unit- and integration tested
- Implements all known XML/RPC extensions

## Changes in this fork
- Adds a fourth optional parameter to the Client instance to disable trimming the respone.

## Upgrading to 0.12.x
Instead of `egeloen/http-adapter`, we now use the PSR-7 compatible `php-http/httplug`. You will have to change your custom HTTP client implementation and pass a `Http\Message\MessageFactory` implementation and a `Http\Client\HttpClient` to the `HttpAdapterTransport`.
See below for details.
Expand All @@ -28,7 +31,7 @@ You must choose three packages for for the business of HTTP:
- A PSR-7 compatible HTTP message (request / response) implementation
- A compatible HTTP message factory implementation to create HTTP messages
- A PSR-7 compatible HTTP client

Two widespread message implementations are [zend-diactoros](https://github.com/zendframework/zend-diactoros) and [guzzle/psr7](https://github.com/guzzle/psr7). Message factories for both implementations are available in [php-http/message](https://github.com/php-http/message).
For HTTP clients you can pick e.g. [php-http/guzzle6-adapter](https://github.com/php-http/guzzle6-adapter), [php-http/guzzle5-adapter](https://github.com/php-http/guzzle5-adapter), [php-http/curl-client](https://github.com/php-http/curl-client) or [php-http/buzz-adapter](https://github.com/php-http/buzz-adapter).

Expand Down

0 comments on commit 2f2249f

Please sign in to comment.