26#ifndef ROUTER_SRC_HTTP_INCLUDE_MYSQLROUTER_COMPONENT_HTTP_SERVER_COMPONENT_H_
27#define ROUTER_SRC_HTTP_INCLUDE_MYSQLROUTER_COMPONENT_HTTP_SERVER_COMPONENT_H_
47 static void set_instance(std::unique_ptr<HttpServerComponent> component);
50 virtual void *
add_route(
const std::string &url_regex,
51 std::unique_ptr<http::base::RequestHandler> cb) = 0;
Definition: http_server_component.h:38
virtual void init(HttpServerCtxtPtr srv)=0
virtual ~HttpServerComponent()=default
virtual void * add_route(const std::string &url_regex, std::unique_ptr< http::base::RequestHandler > cb)=0
virtual void remove_route(const void *handler)=0
virtual bool is_ssl_configured()=0
std::shared_ptr< http::HttpServerContext > HttpServerCtxtPtr
Definition: http_server_component.h:40
virtual void remove_route(const std::string &url_regex)=0
The handler class is the interface for dynamically loadable storage engines.
Definition: handler.h:4573
#define HTTP_SERVER_LIB_EXPORT
Definition: http_server_lib_export.h:15
Definition: srv0dynamic_procedures.h:48