Solar_Http_Request_Adapter_Stream::setCookies()

public Solar_Http_Request_Adapter Solar_Http_Request_Adapter_Stream::setCookies ( array $cookies )

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

Inherited from Solar_Http_Request_Adapter.

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