#include <userver/server/http/http_response_cookie.hpp>
HTTP response cookie.
Definition at line 22 of file http_response_cookie.hpp.
|
|
| Cookie (std::string name, std::string value) |
|
| Cookie (Cookie &&cookie) noexcept |
|
| Cookie (const Cookie &cookie) |
|
Cookie & | operator= (Cookie &&) noexcept |
|
Cookie & | operator= (const Cookie &cookie) |
|
const std::string & | Name () const noexcept |
|
const std::string & | Value () const noexcept |
|
bool | IsSecure () const noexcept |
|
Cookie & | SetSecure () noexcept |
|
std::chrono::system_clock::time_point | Expires () const noexcept |
|
Cookie & | SetExpires (std::chrono::system_clock::time_point value) noexcept |
|
bool | IsPermanent () const noexcept |
|
Cookie & | SetPermanent () |
|
bool | IsHttpOnly () const noexcept |
|
Cookie & | SetHttpOnly () noexcept |
|
const std::string & | Path () const noexcept |
|
Cookie & | SetPath (std::string value) |
|
const std::string & | Domain () const noexcept |
|
Cookie & | SetDomain (std::string value) |
|
std::chrono::seconds | MaxAge () const noexcept |
|
Cookie & | SetMaxAge (std::chrono::seconds value) noexcept |
|
std::string | SameSite () const |
|
Cookie & | SetSameSite (std::string value) |
|
std::string | ToString () const |
|
void | AppendToString (::http::headers::HeadersString &os) const |
|
|
static std::optional< Cookie > | FromString (std::string_view cookie_str) |
◆ CookiesMap
| using server::http::Cookie::CookiesMap = std::unordered_map<std::string, Cookie, utils::StrCaseHash> |
The documentation for this class was generated from the following file: