You are here

public function MessageInterface::getHeader in Auth0 Single Sign On 8.2

Retrieves a message header value by the given case-insensitive name.

This method returns an array of all the header values of the given case-insensitive header name.

If the header does not appear in the message, this method MUST return an empty array.

Parameters

string $name Case-insensitive header field name.:

Return value

string[] An array of string values as provided for the given header. If the header does not appear in the message, this method MUST return an empty array.

File

vendor/psr/http-message/src/MessageInterface.php, line 94

Class

MessageInterface
HTTP messages consist of requests from a client to a server and responses from a server to a client. This interface defines the methods common to each.

Namespace

Psr\Http\Message

Code

public function getHeader($name);