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
9090
9191* `http_client `_
9292
93- * `default_options `_
93+ * :ref: `default_options < reference-http-client-default-options >`
9494
9595 * `bindto `_
9696 * `cafile `_
@@ -111,7 +111,7 @@ Configuration
111111 * `verify_peer `_
112112
113113 * `max_host_connections `_
114- * `scoped_clients `_
114+ * :ref: `scoped_clients < reference-http-client-scoped-clients >`
115115
116116 * `scope `_
117117 * `auth_basic `_
@@ -687,6 +687,8 @@ When the HttpClient component is installed, an HTTP client is available
687687as a service named ``http_client `` or using the autowiring alias
688688:class: `Symfony\\ Constracts\\ HttpClient\\ HttpClientInterface `.
689689
690+ .. _reference-http-client-default-options :
691+
690692This service can be configured using ``framework.http_client.default_options ``:
691693
692694.. code-block :: yaml
@@ -700,6 +702,8 @@ This service can be configured using ``framework.http_client.default_options``:
700702 headers : [{ 'X-Powered-By': 'ACME App' }]
701703 max_redirects : 7
702704
705+ .. _reference-http-client-scoped-clients :
706+
703707Multiple pre-configured HTTP client services can be defined, each with its
704708service name defined as a key under ``scoped_clients ``. Scoped clients inherit
705709the default options defined for the ``http_client `` service. You can override
You can’t perform that action at this time.
0 commit comments