Commit 9da4f0d
committed
minor symfony#14236 Update http_client.rst : standalone HttpClient max host connections param (ybenhssaien)
This PR was submitted for the 5.1 branch but it was merged into the 4.4 branch instead.
Discussion
----------
Update http_client.rst : standalone HttpClient max host connections param
As the signature of `create` method : `public static function create(array $defaultOptions = [], int $maxHostConnections = 6, int $maxPendingPushes = 50): HttpClientInterface`
The max host connection should be passed as the second param to this method instead of an option.
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/releases for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `master` for features of unreleased versions).
-->
Commits
-------
70944d0 Update http_client.rst1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
| 200 | + | |
204 | 201 | | |
205 | 202 | | |
206 | 203 | | |
| |||
0 commit comments