Skip to content

Commit cb5764a

Browse files
committed
Updated XML and PHP configs too
1 parent 7e7af05 commit cb5764a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

http_client.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,9 @@ the ``http_version`` option:
765765
http://symfony.com/schema/dic/symfony https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
766766
767767
<framework:config>
768-
<framework:http-client http-version="2.0"/>
768+
<framework:http-client>
769+
<framework:default-options http-version="2.0"/>
770+
</framework-http-client>
769771
</framework:config>
770772
</container>
771773
@@ -774,7 +776,9 @@ the ``http_version`` option:
774776
// config/packages/framework.php
775777
$container->loadFromExtension('framework', [
776778
'http_client' => [
777-
'http_version' => '2.0',
779+
'default_options' => [
780+
'http_version' => '2.0',
781+
],
778782
],
779783
]);
780784

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy