consolidate notes
[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:***
7 > Only options specified prior enqueueing a request are applied to the request.
8
9 ## Params:
10
11 * Optional array $options = NULL
12 The options to set.
13
14 ## Returns:
15
16 * http\Client, self.
17
18 ## Throws:
19
20 * http\Exception\InvalidArgumentException