WordPress\AiClient\Providers\Http\Collections
HeadersCollection::getAll
Gets all headers.
Method of the class: HeadersCollection{}
No Hooks.
Returns
array<string,. list<string>> All headers with their original casing.
Usage
$HeadersCollection = new HeadersCollection(); $HeadersCollection->getAll(): array;
Changelog
| Since 0.1.0 | Introduced. |
HeadersCollection::getAll() HeadersCollection::getAll code WP 7.1.5
public function getAll(): array
{
return $this->headers;
}