26#ifndef MYSQLROUTER_REST_ROUTING_STATUS_INCLUDED
27#define MYSQLROUTER_REST_ROUTING_STATUS_INCLUDED
33 static constexpr const char path_regex[] =
"^/routes/([^/]+)/status/?$";
39 const std::vector<std::string> &path_matches)
override;
a HTTP request and response.
Definition: http_request.h:453
handler for REST API calls.
Definition: rest_api_component.h:73
Definition: rest_routing_routes_status.h:31
static constexpr const char path_regex[]
Definition: rest_routing_routes_status.h:33
bool on_handle_request(HttpRequest &req, const std::string &base_path, const std::vector< std::string > &path_matches) override
Definition: rest_routing_routes_status.cc:40
RestRoutingRoutesStatus(const std::string &require_realm)
Definition: rest_routing_routes_status.h:35
constexpr pos_type Get
Definition: http_request.h:256
Definition: http_request.h:252