Skip to content

Commit f13c7bb

Browse files
committed
Fix versionadded
1 parent 797d8cc commit f13c7bb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

http_client.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -731,10 +731,11 @@ 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
738+
738739
The multiple ``base_uri`` feature was added in Symfony 6.3.
739740

740741
The ``RetryableHttpClient`` can be configured to use multiple base URIs. This
@@ -759,14 +760,13 @@ base URIs you want to shuffle in an additional array::
759760

760761
$response = $client->request('GET', 'foo-bar', [
761762
'base_uri' => [
762-
'http://example.com/a/',
763763
[
764-
// one random URI from this list will be used on retry #2
764+
// this array will be randomized
765+
'http://example.com/a/',
765766
'http://example.com/b/',
766-
'http://example.com/c/',
767767
],
768768
// non-nested base URIs are used in order
769-
'http://example.com/d/',
769+
'http://example.com/c/',
770770
],
771771
]);
772772

0 commit comments

Comments
 (0)