HTTP_Client_CookieManager::addCookie()

HTTP_Client_CookieManager::addCookie() – Explicitly adds cookie to the list

Synopsis

require_once 'ClientCookieManager.php';

void HTTP_Client_CookieManager::addCookie ( array $cookie )

Description

This package is not documented yet.

Parameter

array $cookie

An array representing cookie, this function expects all of the array's fields ('name', 'value', 'domain', 'path', 'expires', 'secure') to be set.

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Constructor (Previous) Adds cookies to the request (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.