#include <Cookie.h>
Public Member Functions | |
Constructors and assignment operators | |
| Cookie () | |
| Cookie (const char *name) | |
| Construct from a named cookie. | |
| Cookie (const char *name, const Credentials &) | |
| Construct a cookie with no value. | |
| Cookie (const char *name, const char *value) | |
| Construct a cookie with a value. | |
| Cookie (const char *name, const char *value, const Credentials &) | |
| Construct a cookie with credentials. | |
| Cookie (const std::string &name) | |
| Construct a named cookie. | |
| Cookie (const std::string &name, const Credentials &) | |
| Construct a cookie with no value. | |
| Cookie (const std::string &name, const std::string &value) | |
| Construct a cookie with a value. | |
| Cookie (const std::string &name, const std::string &value, const Credentials &) | |
| Construct a cookie with credentials. | |
| Cookie (const Cookie &) | |
| Copy constructor. | |
| ~Cookie () throw () | |
| Destructor. | |
| Cookie & | operator= (const Cookie &) |
| Assignment operator. | |
| void | swap (Cookie &) throw () |
| Swap contents with another object. | |
Data access | |
| std::string | name () const |
| Retrieve the cookie name. | |
| std::string | value () const |
| Retrieve the cookie value. | |
| Credentials | credentials () const |
| Retrieve the cookie credentials. | |
| Credentials & | credentials () |
| Reference the cookie credentials. | |
Classes | |
| class | Authority |
| HTTP cookie domain authority. More... | |
| class | Credentials |
| HTTP cookie credentials: authority, path, expiration, secure. More... | |
| class | Expires |
| HTTP cookie expiration time. More... | |
| class | Path |
| HTTP cookie path. More... | |
This class encapsulates an HTTP cookie as defined by the following reference.
Definition at line 62 of file Cookie.h.
1.4.5