(PECL pecl_http:0.12.0-1.5.5)
HttpRequest::setCookies — Set cookies
Set custom cookies.
an associative array as parameter containing cookie name/value pairs; if empty or omitted, all previously set cookies will be unset
מחזירה TRUE בעת הצלחה או FALSE בעת כישלון.