61 explicit Cookie(std::string c);
std::optional< std::string > & path() noexcept
std::optional< std::string > & domain() noexcept
std::optional< time_t > & expires() noexcept
SameSite & sameSite() noexcept
std::string & content() noexcept
bool & httpOnly() noexcept
std::optional< unsigned long > & maxAge() noexcept
Macros for frequently used patterns.
#define NAWA_COMPLEX_DATA_ACCESSORS_DEF(Class, Member, Type)
#define NAWA_DEFAULT_DESTRUCTOR_DEF(Class)
#define NAWA_DEFAULT_CONSTRUCTOR_DEF(Class)
#define NAWA_MOVE_CONSTRUCTOR_DEF(Class)
#define NAWA_PRIMITIVE_DATA_ACCESSORS_DEF(Class, Member, Type)
#define NAWA_COPY_ASSIGNMENT_OPERATOR_DEF(Class)
#define NAWA_PRIVATE_DATA()
#define NAWA_MOVE_ASSIGNMENT_OPERATOR_DEF(Class)
#define NAWA_COPY_CONSTRUCTOR_DEF(Class)