Malloy
Toggle main menu visibility
Loading...
Searching...
No Matches
malloy
http
cookie
Public Types
|
Public Member Functions
|
Public Attributes
|
List of all members
malloy::http::cookie Class Reference
#include <
cookie.hpp
>
Public Types
enum class
same_site_t
{
strict
,
lax
,
none
}
Public Member Functions
std::string
to_string
() const
Public Attributes
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
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
Generated by
1.18.0