File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ Configuration
90
90
91
91
* `http_client `_
92
92
93
- * `default_options `_
93
+ * :ref: `default_options < reference-http-client-default-options >`
94
94
95
95
* `bindto `_
96
96
* `cafile `_
@@ -111,7 +111,7 @@ Configuration
111
111
* `verify_peer `_
112
112
113
113
* `max_host_connections `_
114
- * `scoped_clients `_
114
+ * :ref: `scoped_clients < reference-http-client-scoped-clients >`
115
115
116
116
* `scope `_
117
117
* `auth_basic `_
@@ -687,6 +687,8 @@ When the HttpClient component is installed, an HTTP client is available
687
687
as a service named ``http_client `` or using the autowiring alias
688
688
:class: `Symfony\\ Constracts\\ HttpClient\\ HttpClientInterface `.
689
689
690
+ .. _reference-http-client-default-options :
691
+
690
692
This service can be configured using ``framework.http_client.default_options ``:
691
693
692
694
.. code-block :: yaml
@@ -700,6 +702,8 @@ This service can be configured using ``framework.http_client.default_options``:
700
702
headers : [{ 'X-Powered-By': 'ACME App' }]
701
703
max_redirects : 7
702
704
705
+ .. _reference-http-client-scoped-clients :
706
+
703
707
Multiple pre-configured HTTP client services can be defined, each with its
704
708
service name defined as a key under ``scoped_clients ``. Scoped clients inherit
705
709
the default options defined for the ``http_client `` service. You can override
You can’t perform that action at this time.
0 commit comments