W3cubDocs

/WordPress

class Requests_Response_Headers {}

Case-insensitive dictionary, suitable for HTTP headers

Methods

Name Description
Requests_Response_Headers::flatten Flattens a value into a string
Requests_Response_Headers::getIterator Get an iterator for the data
Requests_Response_Headers::getValues Get all values for a given header
Requests_Response_Headers::offsetGet Get the given header
Requests_Response_Headers::offsetSet Set the given item

Source

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