Cookie holder object
| package | Requests |
|---|---|
| subpackage | Cookies |
__construct(array $cookies = array())
arrayExisting cookie values
before_redirect_check(\Requests_Response $return)
| var |
|---|
before_request(string $url, array $headers, array $data, string $type, array $options)
As per RFC 6265, cookies are separated by '; '
string
array
array
string
array
getIterator() : \ArrayIterator
\ArrayIteratornormalizeCookie($cookie, $key = null) : \Requests_Cookie
| codeCoverageIgnore | |
|---|---|
| deprecated | Use {@see Requests_Cookie_Jar::normalize_cookie} |
\Requests_CookieoffsetExists(string $key) : boolean
stringItem key
booleanDoes the item exist?offsetGet(string $key) : string
stringItem key
stringItem valueoffsetSet(string $key, string $value)
stringItem name
stringItem value
\Requests_Exception |
On attempting to use dictionary as list (`invalidset`) |
|---|
offsetUnset(string $key)
string
register(\Requests_Hooker $hooks)
\Requests_HookerHooking system