File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -141,14 +141,14 @@ You can configure the global options using the ``default_options`` option:
141
141
You can also use the :method: `Symfony\\ Contracts\\ HttpClient\\ HttpClientInterface::withOptions `
142
142
method to retrieve a new instance of the client with new default options::
143
143
144
- $this->client = $client->withOptions([
145
- 'base_uri' => 'https://...',
146
- 'headers' => ['header-name' => 'value0, value1, ... ']
147
- ]);
144
+ $this->client = $client->withOptions([
145
+ 'base_uri' => 'https://...',
146
+ 'headers' => ['header-name' => 'header-value ']
147
+ ]);
148
148
149
149
.. versionadded :: 5.3
150
150
151
- The :method: ` Symfony \\ Contracts \\ HttpClient \\ HttpClientInterface:: withOptions ` method was introduced in Symfony 5.3.
151
+ The `` withOptions() ` ` method was introduced in Symfony 5.3.
152
152
153
153
Some options are described in this guide:
154
154
You can’t perform that action at this time.
0 commit comments