public function MessageInterface::addCacheControlDirective

Add a Cache-Control directive on the message

Parameters

string $directive Directive to set:

bool|string $value Value to set:

Return value

MessageInterface

1 method overrides MessageInterface::addCacheControlDirective()
AbstractMessage::addCacheControlDirective in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/AbstractMessage.php
Add a Cache-Control directive on the message

File

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

Class

MessageInterface
Request and response message interface

Namespace

Guzzle\Http\Message

Code

public function addCacheControlDirective($directive, $value = true);