Zend_Http_Client::setCookie
Add a cookie to the request. If the client has no Cookie Jar, the cookies will be added directly to the headers array as "Cookie" headers.
Signature
public function setCookie(Zend_Http_Cookie|string
$cookie,
[string|null
$value = NULL] )
Parameters
$cookie
— object
$value
— object- If "cookie" is a string, this is the cookie value.
Returns
- Zend_Http_Client