Case-insensitive dictionary, suitable for HTTP headers
package | Requests |
---|---|
subpackage | Utilities |
__construct(array $data = array()
)
array
Dictionary/map to convert to case-insensitive
getAll() : array
array
Header datagetIterator() : \ArrayIterator
\ArrayIterator
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
$data : array
array()