Struct HttpEndpoint
Defined in File http_server.hpp
-
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(payload_parse_fn_t payload_parse_fn, std::string url, std::string method)
Public Members
- std::shared_ptr<payload_parse_fn_t> m_parser
- std::string m_url
- boost::beast::http::verb m_method