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.
2 parents 8220038 + 4f00746 commit 62a7a5cCopy full SHA for 62a7a5c
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