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:
141141 You can also use the :method: `Symfony\\ Contracts\\ HttpClient\\ HttpClientInterface::withOptions `
142142method to retrieve a new instance of the client with new default options::
143143
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+ ]);
148148
149149.. versionadded :: 5.3
150150
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.
152152
153153Some options are described in this guide:
154154
You can’t perform that action at this time.
0 commit comments