31 optional<time_t> expires;
32 optional<unsigned long> maxAge;
33 optional<string> domain;
34 optional<string> path;
36 bool httpOnly =
false;
37 SameSite sameSite = SameSite::OFF;
Structure for creating Cookie objects. Content can be set by using a constructor.
std::string & content() noexcept
#define NAWA_DEFAULT_DESTRUCTOR_IMPL(Class)
#define NAWA_PRIMITIVE_DATA_ACCESSORS_IMPL(Class, Member, Type)
#define NAWA_COPY_CONSTRUCTOR_IMPL(Class)
#define NAWA_COMPLEX_DATA_ACCESSORS_IMPL(Class, Member, Type)
#define NAWA_MOVE_ASSIGNMENT_OPERATOR_IMPL(Class)
#define NAWA_DEFAULT_CONSTRUCTOR_IMPL(Class)
#define NAWA_COPY_ASSIGNMENT_OPERATOR_IMPL(Class)
#define NAWA_MOVE_CONSTRUCTOR_IMPL(Class)