29HTTPCookie(
const std::string &format,
const URLSpec &url) {
30 parse_set_cookie(format, url);
39HTTPCookie(
const std::string &name,
const std::string &path,
const std::string &domain) :
57INLINE
void HTTPCookie::
58set_name(
const std::string &name) {
66INLINE
const std::string &HTTPCookie::
74INLINE
void HTTPCookie::
75set_value(
const std::string &value) {
83INLINE
const std::string &HTTPCookie::
91INLINE
void HTTPCookie::
92set_domain(
const std::string &domain) {
99INLINE
const std::string &HTTPCookie::
107INLINE
void HTTPCookie::
108set_path(
const std::string &path) {
116INLINE
const std::string &HTTPCookie::
124INLINE
void HTTPCookie::
125set_expires(
const HTTPDate &expires) {
132INLINE
void HTTPCookie::
140INLINE
bool HTTPCookie::
142 return _expires.is_valid();
157INLINE
void HTTPCookie::
158set_secure(
bool secure) {
166INLINE
bool HTTPCookie::
175INLINE
bool HTTPCookie::
176is_expired(
const HTTPDate &now)
const {
177 return _expires.is_valid() && _expires < now;
180INLINE std::ostream &operator << (std::ostream &out,
const HTTPCookie &cookie) {
A container for an HTTP-legal time/date indication.
A container for a URL, e.g.