Public Methods | |
| Cookie (const std::string &name, const std::string &value) | |
| Creates a transient cookie. | |
| Cookie (const std::string &name, const std::string &value, const std::string &domain, const std::string &path, Time expires) | |
| Creates a permanent cookie. | |
| ~Cookie () | |
| Destroy this cookie. | |
| bool | match (const URL &url) const |
| Does this cookie match the URL (domain and path) ? | |
| bool | expired () const |
| Is this cookie expired ? (always 'false' for transient). | |
| bool | transient () const |
| Is this cookie transient (must not be persisted). | |
| const std::string & | name () const |
| The cookie's name. | |
| const std::string & | value () const |
| The cookie's value. | |
This is the elementary persitent piece of data that a http server can store whithin an http client. The CookiesManager singleton is the repository for all active cookies, and the HttpClient automatically handles the send/receive procedure of cookies with the server.
|
||||||||||||
|
Creates a transient cookie.
|
|
||||||||||||||||||||||||
|
Creates a permanent cookie. The given expires time must be UTC |
|
|
Destroy this cookie.
|
|
|
Is this cookie expired ? (always 'false' for transient).
|
|
|
Does this cookie match the URL (domain and path) ?
|
|
|
The cookie's name.
|
|
|
Is this cookie transient (must not be persisted).
|
|
|
The cookie's value.
|
1.3-rc2