public function Response::getCacheControl

Get the Cache-Control HTTP header

Return value

Header|null Returns a Header object that tells all caching mechanisms from server to client whether they may cache this object.

File

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

Class

Response
Guzzle HTTP response object

Namespace

Guzzle\Http\Message

Code

public function getCacheControl() {
  return $this
    ->getHeader('Cache-Control');
}