roar
|
This class is what is used in ROAR_GET, ROAR_PUT, ... requests All options you can set for routes behind these macros are part of this object. More...
#include <request_listener.hpp>
Public Attributes | |
std::optional< boost::beast::http::verb > | verb = std::nullopt |
What verb for this route? | |
RoutePathType | pathType = RoutePathType::RegularString |
Is the path a string or a regex, ...? | |
HandlerType< RequestListenerT > | handler = nullptr |
Set automatically by the macro. | |
This class is what is used in ROAR_GET, ROAR_PUT, ... requests All options you can set for routes behind these macros are part of this object.
RequestListenerT | The request listener class that the route belongs to. |
HandlerType<RequestListenerT> Roar::RouteInfo< RequestListenerT >::handler = nullptr |
Set automatically by the macro.
RoutePathType Roar::RouteInfo< RequestListenerT >::pathType = RoutePathType::RegularString |
Is the path a string or a regex, ...?
std::optional<boost::beast::http::verb> Roar::RouteInfo< RequestListenerT >::verb = std::nullopt |
What verb for this route?