|
Malloy
|
#include <cookie.hpp>


Public Member Functions | |
| cookie_clear (const std::string &name_) | |
Public Member Functions inherited from malloy::http::cookie | |
| std::string | to_string () const |
Additional Inherited Members | |
Public Types inherited from malloy::http::cookie | |
| enum class | same_site_t { strict , lax , none } |
Public Attributes inherited from malloy::http::cookie | |
| 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 |
A cookie which will motivate the client to discard a previously stored cookie with the same name.
According to RFC6265 a client must delete a cookie if receiving a Set-Cookie header with an 'Expires` value in the past.