Skip to content

Commit

Permalink
Merge pull request #271 from JaZo/patch-1
Browse files Browse the repository at this point in the history
Add note about Guzzle throwing exceptions
  • Loading branch information
dbu committed Oct 8, 2019
2 parents f035595 + f59e09a commit 3ef939e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clients/guzzle6-adapter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ to the client::
$guzzle = new GuzzleClient($config);
// ...
$adapter = new GuzzleAdapter($guzzle);
If you pass a Guzzle instance to the adapter, make sure to configure Guzzle to not throw exceptions on HTTP error status codes, or this adapter will violate PSR-18.

And use it to send synchronous requests::

Expand Down

0 comments on commit 3ef939e

Please sign in to comment.