W3cubDocs

/WordPress

class Requests_Utility_CaseInsensitiveDictionary {}

Case-insensitive dictionary, suitable for HTTP headers

Methods

Name Description
Requests_Utility_CaseInsensitiveDictionary::__construct Creates a case insensitive dictionary.
Requests_Utility_CaseInsensitiveDictionary::getAll Get the headers as an array
Requests_Utility_CaseInsensitiveDictionary::getIterator Get an iterator for the data
Requests_Utility_CaseInsensitiveDictionary::offsetExists Check if the given item exists
Requests_Utility_CaseInsensitiveDictionary::offsetGet Get the value for the item
Requests_Utility_CaseInsensitiveDictionary::offsetSet Set the given item
Requests_Utility_CaseInsensitiveDictionary::offsetUnset Unset the given header

Source

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests_utility_caseinsensitivedictionary