Malloy
Loading...
Searching...
No Matches
Public Member Functions | List of all members
malloy::http::cookie_clear Class Reference

#include <cookie.hpp>

Inheritance diagram for malloy::http::cookie_clear:
Inheritance graph
[legend]
Collaboration diagram for malloy::http::cookie_clear:
Collaboration graph
[legend]

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
 

Detailed Description

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.


The documentation for this class was generated from the following file: