projects
/
mdref
/
mdref
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
workflow/publish: update to php-8.1
[mdref/mdref]
/
Client
/
setCookies.md
1
# http\Client http\Client::setCookies([array $cookies = NULL])
2
3
Set custom cookies.
4
See http\Client::addCookies() and http\Client::getCookies().
5
6
## Params:
7
8
* Optional array $cookies = NULL
9
Set the custom cookies to this array.
10
11
## Returns:
12
13
* http\Client, self.
14
15
## Throws:
16
17
* http\Exception\InvalidArgumentException