8000 [HttpClient] Fixed some missing references by javiereguiluz · Pull Request #11629 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[HttpClient] Fixed some missing references #11629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 30, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Configuration

* `http_client`_

* `default_options`_
* :ref:`default_options <reference-http-client-default-options>`

* `bindto`_
* `cafile`_
Expand All @@ -111,7 +111,7 @@ Configuration
* `verify_peer`_

* `max_host_connections`_
* `scoped_clients`_
* :ref:`scoped_clients <reference-http-client-scoped-clients>`

* `scope`_
* `auth_basic`_
Expand Down Expand Up @@ -687,6 +687,8 @@ When the HttpClient component is installed, an HTTP client is available
as a service named ``http_client`` or using the autowiring alias
:class:`Symfony\\Constracts\\HttpClient\\HttpClientInterface`.

.. _reference-http-client-default-options:

This service can be configured using ``framework.http_client.default_options``:

.. code-block:: yaml
Expand All @@ -700,6 +702,8 @@ This service can be configured using ``framework.http_client.default_options``:
headers: [{ 'X-Powered-By': 'ACME App' }]
max_redirects: 7

.. _reference-http-client-scoped-clients:

Multiple pre-configured HTTP client services can be defined, each with its
service name defined as a key under ``scoped_clients``. Scoped clients inherit
the default options defined for the ``http_client`` service. You can override
Expand Down
0