26#ifndef MYSQLROUTER_REST_ROUTING_LIST_INCLUDED
27#define MYSQLROUTER_REST_ROUTING_LIST_INCLUDED
33 static constexpr const char path_regex[] =
"^/routes/?$";
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_list.h:31
bool on_handle_request(HttpRequest &req, const std::string &base_path, const std::vector< std::string > &path_matches) override
Definition: rest_routing_list.cc:34
static constexpr const char path_regex[]
Definition: rest_routing_list.h:33
RestRoutingList(const std::string &require_realm)
Definition: rest_routing_list.h:35
constexpr pos_type Get
Definition: http_request.h:256
Definition: http_request.h:252