Inheritance diagram for Cookie:
Public Member Functions | |
this () | |
this (char[] name, char[] value) | |
void | setName (char[] name) |
void | setValue (char[] value) |
void | setVersion (uint vrsn) |
void | setPath (char[] path) |
void | setDomain (char[] domain) |
void | setComment (char[] comment) |
void | setMaxAge (long maxAge) |
void | setSecure (bool secure) |
void | write (IWriter writer) |
void | clear () |
Private Attributes | |
char[] | name |
char[] | path |
char[] | value |
char[] | domain |
char[] | comment |
uint | vrsn = 1 |
long | maxAge |
bool | secure |
See over here for the RFC document.
Definition at line 66 of file HttpCookies.d.
|
Construct an empty client-side cookie. You add these to an output request using HttpClient.addCookie(), or the equivalent. Definition at line 85 of file HttpCookies.d. |
|
Construct a cookie with the provided attributes. You add these to an output request using HttpClient.addCookie(), or the equivalent. Definition at line 97 of file HttpCookies.d. References setName(), and setValue(). |
|
Set the name of this cookie Definition at line 109 of file HttpCookies.d. Referenced by CookieParser::next(), and this(). |
|
Set the value of this cookie Definition at line 120 of file HttpCookies.d. Referenced by CookieParser::next(), and this(). |
|
Set the version of this cookie Definition at line 131 of file HttpCookies.d. Referenced by CookieParser::next(). |
|
Set the path of this cookie Definition at line 142 of file HttpCookies.d. Referenced by CookieParser::next(). |
|
Set the domain of this cookie Definition at line 153 of file HttpCookies.d. Referenced by CookieParser::next(). |
|
Set the comment associated with this cookie Definition at line 164 of file HttpCookies.d. |
|
Set the maximum duration of this cookie Definition at line 175 of file HttpCookies.d. |
|
Indicate wether this cookie should be considered secure or not Definition at line 186 of file HttpCookies.d. |
|
Output the cookie as a text stream, via the provided IWriter. Reimplemented from IWritable. Definition at line 197 of file HttpCookies.d. References comment, domain, maxAge, path, IWriter::put(), secure, and vrsn. Referenced by HttpMutableCookies::add(). |
|
Reset this cookie Definition at line 233 of file HttpCookies.d. |
|
Definition at line 68 of file HttpCookies.d. |
|
Definition at line 68 of file HttpCookies.d. |
|
Definition at line 68 of file HttpCookies.d. |
|
Definition at line 68 of file HttpCookies.d. |
|
Definition at line 68 of file HttpCookies.d. |
|
Definition at line 73 of file HttpCookies.d. |
|
Definition at line 74 of file HttpCookies.d. |
|
Definition at line 75 of file HttpCookies.d. |