Yet Another HTTP Library
yahttp
|
#include <cookie.hpp>
Public Member Functions | |
Cookie () | |
Cookie (const Cookie &rhs) | |
Set the cookie to empty value. More... | |
std::string | str () const |
Public Attributes | |
DateTime | expires |
std::string | domain |
std::string | path |
bool | httponly |
bool | secure |
std::string | name |
std::string | value |
Implements a single cookie
|
inline |
|
inline |
Set the cookie to empty value.
|
inline |
std::string YaHTTP::Cookie::domain |
Domain where cookie is valid
DateTime YaHTTP::Cookie::expires |
Expiration date
bool YaHTTP::Cookie::httponly |
Whether the cookie is for server use only
std::string YaHTTP::Cookie::name |
Cookie name
std::string YaHTTP::Cookie::path |
Path where the cookie is valid
bool YaHTTP::Cookie::secure |
Whether the cookie is for HTTPS only
std::string YaHTTP::Cookie::value |
Cookie value