WordPress\AiClient\Providers\Http\DTO
Response::getHeaders
Gets the response headers.
Method of the class: Response{}
No Hooks.
Returns
array<string,. list<string>> The headers.
Usage
$Response = new Response(); $Response->getHeaders(): array;
Changelog
| Since 0.1.0 | Introduced. |
Response::getHeaders() Response::getHeaders code WP 7.1.4
public function getHeaders(): array
{
return $this->headers->getAll();
}