We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e7af05 commit cb5764aCopy full SHA for cb5764a
http_client.rst
@@ -765,7 +765,9 @@ the ``http_version`` option:
765
http://symfony.com/schema/dic/symfony https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
766
767
<framework:config>
768
- <framework:http-client http-version="2.0"/>
+ <framework:http-client>
769
+ <framework:default-options http-version="2.0"/>
770
+ </framework-http-client>
771
</framework:config>
772
</container>
773
@@ -774,7 +776,9 @@ the ``http_version`` option:
774
776
// config/packages/framework.php
775
777
$container->loadFromExtension('framework', [
778
'http_client' => [
- 'http_version' => '2.0',
779
+ 'default_options' => [
780
+ 'http_version' => '2.0',
781
+ ],
782
],
783
]);
784
0 commit comments