WordPress\AiClient\Providers\Http\Collections

HeadersCollection::getAllpublicWP 0.1.0

Gets all headers.

Method of the class: HeadersCollection{}

No Hooks.

Returns

Array. 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

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