Requests_Response_Headers::getIterator() WordPress Method
The Requests_Response_Headers::getIterator() function is used to get an iterator for the headers in a Requests_Response object. This function is useful for looping through all the headers in a response.
Requests_Response_Headers::getIterator() #
Get an iterator for the data
Description
Converts the internal
Return
(ArrayIterator)
Source
File: wp-includes/Requests/Response/Headers.php
public function getIterator() { return new Requests_Utility_FilteredIterator($this->data, array($this, 'flatten')); }
Expand full source codeCollapse full source codeView on TracView on GitHub