Add a Cache-Control directive on the message
Parameters
string $directive Directive to set:
bool|string $value Value to set:
Return value
MessageInterface
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);