flush
[mdref/mdref-http] / http / Client / Request / setOptions.md
1 # http\Client\Request http\Client\Request::setOptions([array $options = NULL])
2
3 Set client options.
4 See http\Client::setOptions() and 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\Request, self.
16