public function MessageInterface::hasHeader

Check if the specified header is present.

Parameters

string $header The header to check.:

Return value

bool Returns TRUE or FALSE if the header is present

1 method overrides MessageInterface::hasHeader()
AbstractMessage::hasHeader in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/AbstractMessage.php
Check if the specified header is present.

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Message/MessageInterface.php, line 95

Class

MessageInterface
Request and response message interface

Namespace

Guzzle\Http\Message

Code

public function hasHeader($header);