projects
/
mdref
/
mdref-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
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