On this page
Requests_Utility_CaseInsensitiveDictionary::__construct( array $data = array() )
Creates a case insensitive dictionary.
Parameters
$dataarray Optional-
Dictionary/map to convert to case-insensitive
Default:
array()
Source
File: wp-includes/Requests/Utility/CaseInsensitiveDictionary.php. View all references
public function __construct(array $data = array()) {
foreach ($data as $key => $value) {
$this->offsetSet($key, $value);
}
}
Related
Uses
| Uses | Description |
|---|---|
| Requests_Utility_CaseInsensitiveDictionary::offsetSet() wp-includes/Requests/Utility/CaseInsensitiveDictionary.php | Set the given item |
Used By
| Used By | Description |
|---|---|
| Requests_Cookie::parse() wp-includes/Requests/Cookie.php | Parse a cookie string into a cookie object |
| Requests_Transport_fsockopen::request() wp-includes/Requests/Transport/fsockopen.php | Perform a request |
| WP_HTTP_Requests_Response::get_headers() wp-includes/class-wp-http-requests-response.php | Retrieves headers associated with the response. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests_utility_caseinsensitivedictionary/__construct