A class representing a route handler function. More...
#include <route.hpp>
Public Member Functions | |
template<typename... Args> | |
RouteHandlerFunc (std::function< asio::awaitable< http::Response >(Args...)> func) | |
RouteHandlerFunc (RouteHandlerFunc &&other)=default | |
template<typename... Args> | |
asio::awaitable< http::Response > | operator() (Args &&... args) const |
A class representing a route handler function.
This class is used to store and execute route handler function.
|
inline |
|
default |
|
inline |