Struct GatewayPlugin::PluginRoute
Defined in File gateway_plugin.hpp
Nested Relationships
This struct is a nested type of Class GatewayPlugin.
Struct Documentation
-
struct PluginRoute
Describes a single REST route registered by a plugin.
Public Members
-
std::string method
HTTP method (“GET”, “POST”, “PUT”, “DELETE”)
-
std::string pattern
Regex pattern relative to api_prefix.
-
std::function<void(const PluginRequest&, PluginResponse&)> handler
-
std::string method