style and wording fixes
[mdref/mdref-http] / http / Client / setOptions.md
1 # http\Client http\Client::setOptions([array $options = NULL])
2
3 Set client options.
4 See http\Client\Curl.
5
6 > **Note:** Only options specified prior enqueueing a request are applied to the request.
7
8 ## Params:
9
10 * Optional array $options = NULL
11 The options to set.
12
13 ## Returns:
14
15 * http\Client, self.
16
17 ## Throws:
18
19 * http\Exception\InvalidArgumentException