#include <cookie.hpp>
|
enum class | same_site_t { strict
, lax
, none
} |
|
|
std::string | to_string () const |
|
|
std::string | name |
|
std::string | value |
|
std::chrono::seconds | max_age { 0 } |
|
std::string | expires |
|
std::string | domain |
|
std::filesystem::path | path |
|
bool | secure = true |
|
bool | http_only = true |
|
same_site_t | same_site = same_site_t::strict |
|
The cookie class.
This class represents a cookie.
- Note
- Implementation based on: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie
-
If both
Max-Age
and Expires
are set the client is supposed to give Max-Age
priority/precedence.
The documentation for this class was generated from the following files:
- lib/malloy/core/http/cookie.hpp
- lib/malloy/core/http/cookie.cpp