Public Types | Public Member Functions | Protected Member Functions | List of all members
Atom::HTTP::Request Class Reference
Inheritance diagram for Atom::HTTP::Request:
Inheritance graph
[legend]

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::Headerget_headers ()
 
std::vector< HTTP::Cookieget_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_ ()