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
Copy file name to clipboardExpand all lines: integrations/symfony-bundle.rst
+17-2Lines changed: 17 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -165,7 +165,10 @@ The bundle has client factory services that you can use to build your client. If
165
165
Plugins
166
166
```````
167
167
168
-
You can configure the clients with plugins. You can choose to use a built in plugin in the ``php-http/plugins`` package or provide a plugin of your own. The order of the specified plugin does matter.
168
+
Clients can have plugins. Generic plugins from ``php-http/plugins`` (e.g. retry or redirect) can be configured globally. You can tell the client which of those plugins to use, as well as custom plugins that you configured a service for.
169
+
170
+
Additionally you can configure any of the ``php-http/plugins`` specifically on a client. For some plugins this is the only place where they can be configured.
171
+
The order in which you specify the plugins **does** matter.
169
172
170
173
.. code-block:: yaml
171
174
@@ -184,7 +187,19 @@ You can configure the clients with plugins. You can choose to use a built in plu
0 commit comments