Skip to content

Commit 06ef5a3

Browse files
committed
Fixed typos
1 parent 31cbd03 commit 06ef5a3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

components/http_client.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ Advanced Options
237237

238238
The :class:`Symfony\\Contracts\\HttpClient\\HttpClientInterface` defines all the
239239
options you might need to take full control of the way the request is performed,
240-
including progress monitoring, DSN pre-resolution, timeout, SSL parameters, etc.
240+
including progress monitoring, DNS pre-resolution, timeout, SSL parameters, etc.
241241

242242
Processing Responses
243243
--------------------
@@ -266,7 +266,7 @@ following methods::
266266
.. note::
267267

268268
``$response->getInfo()`` is non-blocking: it returns *live* information
269-
about the response. Some of them might not be know yet (e.g. ``http_code``)
269+
about the response. Some of them might not be known yet (e.g. ``http_code``)
270270
when you'll call it.
271271

272272
.. tip::
@@ -358,7 +358,7 @@ But maybe the 2nd response came back before the 1st? Fully asynchronous operatio
358358
require being able to deal with the responses in whatever order they come back.
359359

360360
In order to do so, the ``stream()`` method of HTTP clients accepts a list of
361-
responses to monitor. As mentionned :ref:`previously <http-client-streaming-responses>`,
361+
responses to monitor. As mentioned :ref:`previously <http-client-streaming-responses>`,
362362
this method yields response chunks as they arrive from the network. By replacing
363363
the "foreach" in the snippet with this one, the code becomes fully async::
364364

@@ -396,7 +396,7 @@ option::
396396

397397
The ``default_socket_timeout`` PHP ini setting is used if the option is not set.
398398

399-
The option can be overriden by using the 2nd argument of the ``stream()`` method.
399+
The option can be overridden by using the 2nd argument of the ``stream()`` method.
400400
This allows monitoring several responses at once and applying the timeout to all
401401
of them in a group. If all responses become inactive for the given duration, the
402402
method will yield a special chunk whose ``isTimeout()`` will return ``true``::
@@ -416,14 +416,14 @@ response and get remaining contents that might come back in a new timeout, etc.
416416

417417
.. note::
418418

419-
Timeouts control how long one is willing to wait *while the HTTP transation
419+
Timeouts control how long one is willing to wait *while the HTTP transaction
420420
is idle*. Big responses can last as long as needed to complete, provided they
421421
remain active during the transfer and never pause for longer than specified.
422422

423423
Dealing with Network Errors
424424
~~~~~~~~~~~~~~~~~~~~~~~~~~~
425425

426-
Network errors (broken pipe, failed DSN resolution, etc.) are thrown as instances
426+
Network errors (broken pipe, failed DNS resolution, etc.) are thrown as instances
427427
of :class:`Symfony\\Contracts\\HttpClient\\Exception\\TransportExceptionInterface`.
428428

429429
First of all, you don't *have* to deal with them: letting errors bubble to your
@@ -618,7 +618,7 @@ into any services by type-hinting a constructor argument with the
618618
}
619619

620620
If you have several clients, you must use any of the methods defined by Symfony
621-
to ref:`choose a specific service <services-wire-specific-service>`. Each client
621+
to :ref:`choose a specific service <services-wire-specific-service>`. Each client
622622
has a unique service named after its configuration.
623623

624624
Each scoped client also defines a corresponding named autowiring alias.

0 commit comments

Comments
 (0)