26#ifndef MYSQLROUTER_REST_API_INCLUDED
27#define MYSQLROUTER_REST_API_INCLUDED
55 const std::string &require_realm)
62 const std::vector<std::string> &path_matches)
override;
Definition: http_server_component.h:36
Definition: rest_api_component.h:46
a HTTP request and response.
Definition: http_request.h:453
Definition: rest_api.h:38
void handle_request(HttpRequest &req) override
Definition: rest_api.cc:71
std::shared_ptr< RestApi > rest_api_
Definition: rest_api.h:46
RestApiHttpRequestHandler(std::shared_ptr< RestApi > rest_api)
Definition: rest_api.h:40
REST API handler for /swagger.json.
Definition: rest_api.h:52
bool try_handle_request(HttpRequest &req, const std::string &base_path, const std::vector< std::string > &path_matches) override
try to handle the request.
Definition: rest_api.cc:30
std::string require_realm_
Definition: rest_api.h:68
std::shared_ptr< RestApi > rest_api_
Definition: rest_api.h:65
RestApiSpecHandler(std::shared_ptr< RestApi > rest_api, const std::string &require_realm)
Definition: rest_api.h:54
time_t last_modified_
Definition: rest_api.h:67
Fido Client Authentication nullptr
Definition: fido_client_plugin.cc:222
Definition: gcs_xcom_synode.h:64
static std::shared_ptr< RestApi > rest_api
Definition: rest_api_plugin.cc:235