Struct HttpRequest
Defined in File http_request.hpp
Struct Documentation
-
struct async_web_server_cpp::HttpRequest
Represents a request from a browser
Public Functions
-
bool has_header(const std::string &name) const
-
std::string get_header_value_or_default(const std::string &name, const std::string &default_value) const
-
bool has_query_param(const std::string &name) const
-
std::string get_query_param_value_or_default(const std::string &name, const std::string &default_value) const
-
template<typename T>
inline T get_query_param_value_or_default(const std::string &name, const T &default_value) const
-
bool parse_uri()
-
bool has_header(const std::string &name) const