Inheritance diagram for restcgi::general_hdr:
The cookies are parsed on requests automatically by this header class. For responses the application must call cookies() and insert any cookie to be sent in the response. This will keep the "Set-Cookie" hdr field in sync with any changes to cookies().
Public Types | |
typedef restcgi::cookies | cookies_type |
cookies type | |
Public Member Functions | |
std::string | cache_control () const |
get cache control | |
bool | cache_control (const std::string &v) |
set cache control | |
std::string | connection () const |
get connection | |
bool | connection (const std::string &v) |
set connection | |
bool | date (date_time &v, const date_time &dflt) const |
get date as date_time | |
bool | date (const date_time &v) |
set date from date_time | |
std::string | pragma () const |
get pragma | |
bool | pragma (const std::string &v) |
set pragma | |
std::string | trailer () const |
get trailer | |
bool | trailer (const std::string &v) |
set trailer | |
std::string | transfer_encoding () const |
get transfer encoding | |
bool | transfer_encoding (const std::string &v) |
set transfer encoding | |
std::string | upgrade () const |
get upgrade | |
bool | upgrade (const std::string &v) |
set upgrade | |
std::string | via () const |
get via | |
bool | via (const std::string &v) |
set via | |
std::string | warning () const |
get warning | |
bool | warning (const std::string &v) |
set warning | |
cookies_type & | cookies () |
get cookies (see class description) | |
const cookies_type & | cookies () const |
get cookies (see class description) | |
Protected Member Functions | |
general_hdr (int categories) | |
Construct. |