Cookie holder object
package | Requests |
---|---|
subpackage | Cookies |
__construct(array $cookies = array()
)
array
Existing 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
\ArrayIterator
normalizeCookie($cookie, $key = null
) : \Requests_Cookie
codeCoverageIgnore | |
---|---|
deprecated | Use {@see Requests_Cookie_Jar::normalize_cookie} |
\Requests_Cookie
offsetExists(string $key) : boolean
string
Item key
boolean
Does the item exist?offsetGet(string $key) : string
string
Item key
string
Item valueoffsetSet(string $key, string $value)
string
Item name
string
Item value
\Requests_Exception |
On attempting to use dictionary as list (`invalidset`) |
---|
offsetUnset(string $key)
string
register(\Requests_Hooker $hooks)
\Requests_Hooker
Hooking system