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