ui-utilcpp
1.8.5
|
Handle "SetCookie" request header field values syntactically. More...
#include <Cookie.hpp>
Public Member Functions | |
SetCookie (HeaderField const &field) | |
SetCookie (std::string const &name, std::string const &value="") | |
std::string | getLine (std::string const &prefix="", std::string const &expiresDefault="", std::string const &pathDefault="", std::string const &domainDefault="") const |
Composition. | |
Modifiers (set values). | |
SetCookie & | setName (std::string const &name) |
SetCookie & | setValue (std::string const &value) |
SetCookie & | setExpires (std::string const &expires="Tue, 01-Jan-1980 00:00:00 GMT") |
SetCookie & | setExpires (time_t const timestamp) |
SetCookie & | setPath (std::string const &path) |
SetCookie & | setDomain (std::string const &domain) |
SetCookie & | setSecure (bool const &secure=true) |
SetCookie & | setLine (std::string const &line) |
This resets all values and sets the values in line. | |
Accessors. | |
std::string const & | getName () const |
std::string const & | getValue () const |
std::string const & | getExpires () const |
std::string const & | getPath () const |
std::string const & | getDomain () const |
Handle "SetCookie" request header field values syntactically.