@@ -15,20 +15,18 @@ Setup
15
15
HTTP Client Installation
16
16
~~~~~~~~~~~~~~~~~~~~~~~~
17
17
18
- Because the clients send invalidation requests over HTTP, an `HTTP client `_
19
- must be installed. You can choose a client that fits for your project or
20
- an adapter to a client you already use . For instance, if you use Guzzle 6 in
21
- your project, install the appropriate adapter:
18
+ Because the clients send invalidation requests over HTTP, an `HTTPlug client `_
19
+ must be installed. Pick either a standalone client or an adapter to a client
20
+ library that is already included in your project . For instance, if you use
21
+ Guzzle 6 in your project, install the appropriate adapter:
22
22
23
23
.. code-block :: bash
24
24
25
25
$ composer require php-http/guzzle6-adapter
26
26
27
27
You also need a `PSR-7 message implementation `_. If you use Guzzle 6, Guzzle’s
28
- implementation is already included. If you use another client, install one of
29
- the implementations. Recommended:
30
-
31
- TODO: i think we need the matching adapter for the factory, if guzzle6-adapter is not installed
28
+ implementation is already included. If you use another client, you need to
29
+ install one of the message implementations. Recommended:
32
30
33
31
.. code-block :: bash
34
32
@@ -285,5 +283,5 @@ Varnish client::
285
283
Make sure to add any headers that you want to ban on to your
286
284
:doc: `proxy configuration <proxy-configuration >`.
287
285
288
- .. _ HTTP client : http://httplug.io/
286
+ .. _ HTTPlug client : http://httplug.io/
289
287
.. _PSR-7 message implementation : https://packagist.org/providers/psr/http-message-implementation
0 commit comments