File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ brings most of the available options with type-hinted getters and setters::
150
150
$this->client = $client->withOptions(
151
151
(new HttpOptions())
152
152
->setBaseUri('https://...')
153
- // setHeaders() replaces *all* headers at once, and deletes the headers you do not provide
153
+ // replaces *all* headers at once, and deletes the headers you do not provide
154
154
->setHeaders(['header-name' => 'header-value'])
155
155
// add or replace a single header using addHeader()
156
156
->addHeader('another-header-name', 'another-header-value')
@@ -159,7 +159,8 @@ brings most of the available options with type-hinted getters and setters::
159
159
160
160
.. versionadded :: 7.1
161
161
162
- The :method: `Symfony\\ Component\\ HttpClient\\ HttpOptions::addHeader ` method was introduced in Symfony 7.1.
162
+ The :method: `Symfony\\ Component\\ HttpClient\\ HttpOptions::addHeader `
163
+ method was introduced in Symfony 7.1.
163
164
164
165
Some options are described in this guide:
165
166
You can’t perform that action at this time.
0 commit comments