Add a Cookie value by name to the Cookie header
Parameters
string $name Name of the cookie to add:
string $value Value to set:
Return value
RequestInterface
File
- drupal/core/vendor/guzzle/http/Guzzle/Http/Message/RequestInterface.php, line 316
Class
- RequestInterface
- Generic HTTP request interface
Namespace
Guzzle\Http\Message
Code
public function addCookie($name, $value);