11 #ifndef HTTP_SERVER4_REQUEST_HPP 12 #define HTTP_SERVER4_REQUEST_HPP 46 #endif // HTTP_SERVER4_REQUEST_HPP std::string method
The request method, e.g. "GET", "POST".
std::vector< header > headers
The headers included with the request.
std::string uri
The requested URI, such as a path to a file.
A request received from a client.
int http_version_major
Major version number, usually 1.
int http_version_minor
Minor version number, usually 0 or 1.
std::string content
The optional content sent with the request.