Request::getHeaders(): WordPressAiClientProvidersHttpDTOarray<string,

In this article

Gets the request headers.

Return

WordPressAiClientProvidersHttpDTOarray<string, list<string>> The headers.

Source

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

Changelog

VersionDescription
0.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.