We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1ad3b0 commit 7fff76bCopy full SHA for 7fff76b
http_client.rst
@@ -152,7 +152,7 @@ brings most of the available options with type-hinted getters and setters::
152
->setBaseUri('https://...')
153
// replaces *all* headers at once, and deletes the headers you do not provide
154
->setHeaders(['header-name' => 'header-value'])
155
- // set or replace a single header using addHeader()
+ // set or replace a single header using setHeader()
156
->setHeader('another-header-name', 'another-header-value')
157
->toArray()
158
);
0 commit comments