Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0a8826d

Browse files
committed
Merge branch '6.4' into 7.2
* 6.4: [HttpClient] Mention the merging of custom options and default scoped options
2 parents01491f8 +983e7ae commit0a8826d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎http_client.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,12 @@ autoconfigure the HTTP client based on the requested URL:
342342
You can define several scopes, so that each set of options is added only if a
343343
requested URL matches one of the regular expressions set by the ``scope`` option.
344344

345+
..note::
346+
347+
The options passed to the ``request()`` method are merged with the default
348+
options defined in the scoped client. The options passed to ``request()``
349+
take precedence and override or extend the default ones.
350+
345351
If you use scoped clients in the Symfony framework, you must use any of the
346352
methods defined by Symfony to:ref:`choose a specific service<services-wire-specific-service>`.
347353
Each client has a unique service named after its configuration.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp