8000 Merge remote-tracking branch 'origin/feature/httpclient_multiple_base… · symfony/symfony-docs@56d310e · GitHub
[go: up one dir, main page]

Skip to content

Commit 56d310e

Browse files
committed
Merge remote-tracking branch 'origin/feature/httpclient_multiple_baseuri' into feature/httpclient_multiple_baseuri
2 parents f13c7bb + 72d221b commit 56d310e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

http_client.rst

Lines changed: 3 additions & 3 deletions
< 3EAF td data-grid-cell-id="diff-156373a146a4f08fd77417f7b7122d9404e6131af0bbe0c77597125c05f84195-759-759-0" data-selected="false" role="gridcell" style="background-color:var(--bgColor-default);text-align:center" tabindex="-1" valign="top" class="focusable-grid-cell diff-line-number position-relative diff-line-number-neutral left-side">759
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ The ``RetryableHttpClient`` uses a
731731
decide if the request should be retried, and to define the waiting time between
732732
each retry.
733733

734-
Retry over different URIs
734+
Retry Over Different URIs
735735
.........................
736736

737737
.. versionadded:: 6.3
@@ -747,13 +747,13 @@ request::
747747
'base_uri' => [
748748
// first request will use this base URI
749749
'http://example.com/a/',
750-
// if first request fails, this second base URI will be used
750+
// if first request fails, the following base URI will be used
751751
'http://example.com/b/',
752752
],
753753
]);
754754

755755
When the number of retries is higher than the number of base URIs, the
756-
last base URI will be used for remaining retries.
756+
last base URI will be used for the remaining retries.
757757

758758
If you want to shuffle the order of base URIs for each retry attempt, nest the
759
base URIs you want to shuffle in an additional array::

0 commit comments

Comments
 (0)
0