public function Response::getDate

Same name in this branch

Get the Date HTTP header

Return value

string|null Returns the date and time that the message was sent.

1 call to Response::getDate()
Response::getAge in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Response.php
Get the Age HTTP header

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Response.php, line 546

Class

Response
Guzzle HTTP response object

Namespace

Guzzle\Http\Message

Code

public function getDate() {
  return $this
    ->getHeader('Date', true);
}