#include <http_server_component.h>
◆ HttpServerComponent() [1/2]
◆ HttpServerComponent() [2/2]
HttpServerComponent::HttpServerComponent |
( |
| ) |
|
|
privatedefault |
◆ add_route()
void HttpServerComponent::add_route |
( |
const std::string & |
url_regex, |
|
|
std::unique_ptr< BaseRequestHandler > |
cb |
|
) |
| |
◆ get_instance()
◆ init()
void HttpServerComponent::init |
( |
std::shared_ptr< HttpServer > |
srv | ) |
|
◆ operator=()
◆ remove_route()
void HttpServerComponent::remove_route |
( |
const std::string & |
url_regex | ) |
|
◆ request_handlers_
std::vector<RouterData> HttpServerComponent::request_handlers_ |
|
private |
◆ rh_mu
std::mutex HttpServerComponent::rh_mu |
|
private |
◆ srv_
std::weak_ptr<HttpServer> HttpServerComponent::srv_ |
|
private |
The documentation for this class was generated from the following files: