WordPress\AiClient\Providers\Http\Collections

HeadersCollection::getAll │ public │ WP 0.1.0

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() code WP 7.1.5

public function getAll(): array
{
    return $this->headers;
}