Solar_Http_Request_Adapter::setCookies()

public Solar_Http_Request_Adapter Solar_Http_Request_Adapter::setCookies ( array $cookies )

Sets multiple cookie values in $this->_cookies to add to the request.

Parameters

  • (array) $cookies: An array of key-value pairs where the key is the cookie name and the value is the cookie value. The values will be URL-encoded at fetch() time.

Returns

  • (Solar_Http_Request_Adapter) This adapter object.

Description

Sets multiple cookie values in $this->_cookies to add to the request.



Local