Struct HttpEndpoint#
Defined in File http_server.hpp
Struct Documentation#
-
struct HttpEndpoint#
A struct that encapsulates the http endpoint attributes.
Constructed to be used in the HttpServer class as http endpoint configurations
Public Functions
- HttpEndpoint(
- request_handler_fn_t request_handler_fn,
- std::string &&url,
- const std::string &method
- HttpEndpoint(
- payload_parse_fn_t payload_parse_fn,
- std::string &&url,
- const std::string &method
Public Members
-
std::shared_ptr<request_handler_fn_t> m_request_handler#
-
std::shared_ptr<payload_parse_fn_t> m_parser#
-
std::string m_url#
-
boost::beast::http::verb m_method#