9 #ifndef __SESSION_HPP__ 10 #define __SESSION_HPP__ 109 #endif // __SESSION_HPP_ std::string name
sets the name cookie option
Definition: session.hpp:81
bool sameSiteStrict
sets the same-site (strict) cookie option
Definition: session.hpp:90
std::string domain
Sets the domain cookie option.
Definition: session.hpp:75
time_t expires
Sets the expires cookie option. Must be a relative time offset in seconds.
Definition: session.hpp:69
bool sameSiteLax
sets the same-site (lax) cookie option
Definition: session.hpp:93
std::function< void(Request *req, Response *res, std::function< void()> next)> MiddlewareFunction
A function which is called by a standard Middleware when an incoming request matches.
Definition: core.hpp:108
bool httpOnly
sets the HTTP-only cookie option
Definition: session.hpp:87
bool secure
sets the secure cookie option
Definition: session.hpp:84
long maxAge
Sets the maxAge cookie option.
Definition: session.hpp:72
std::string path
sets the path cookie option
Definition: session.hpp:78
libcex core classes and functions
Contains all options for the sessionHandler middleware.
Definition: session.hpp:64