public function RequestInterface::addCookie

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

1 method overrides RequestInterface::addCookie()
Request::addCookie in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Request.php
Add a Cookie value by name to the Cookie header

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);