Public Types | |
using | HTTPServerRequestPtr = std::optional< HTTPServerRequest * > |
using | HTTPServerResponsePtr = std::optional< HTTPServerResponse * > |
Public Member Functions | |
HTTPServerRequestPtr & | get_http_server_request () |
HTTPServerResponsePtr & | get_http_server_response () |
std::vector< HTTP::Header > | get_headers () |
std::vector< HTTP::Cookie > | get_cookies () |
std::string | get_uri () const |
std::string | get_method () const |
std::string | get_content_type () const |
Net::NameValueCollection | get_content_type_parameters () const |
void | AddHeader_ (std::string name, std::string value) |
void | AddCookie_ (std::string name, std::string value) |
Protected Member Functions | |
void | SetupRequest_ (Net::HTTPServerRequest &request) |
void | SetupResponse_ (Net::HTTPServerResponse &response) |
void | SetupHeaders_ () |
void | SetupCookies_ () |