WordPress at a glance
function is not described

Requests_Utility_CaseInsensitiveDictionary::offsetSet() public WP 1.0

Set the given item

{} It's a method of the class: Requests_Utility_CaseInsensitiveDictionary{}

No Hooks.

Return

Null. Nothing.

Usage

$Requests_Utility_CaseInsensitiveDictionary = new Requests_Utility_CaseInsensitiveDictionary();
$Requests_Utility_CaseInsensitiveDictionary->offsetSet( $key, $value );
$key(string) (required)
Item name
$value(string) (required)
Item value

Code of Requests_Utility_CaseInsensitiveDictionary::offsetSet() WP 5.5.2

<?php
public function offsetSet($key, $value) {
	if ($key === null) {
		throw new Requests_Exception('Object is a dictionary, not a list', 'invalidset');
	}

	$key = strtolower($key);
	$this->data[$key] = $value;
}