MantisBase v0.3.4
Loading...
Searching...
No Matches
mb::RouteHandler Struct Reference

Struct encompassing the list of middlewares and the handler function registered to a specific route. More...

#include <route_registry.h>

Public Attributes

std::vector< MiddlewareFnmiddlewares
 
std::variant< HandlerFn, HandlerWithContentReaderFnhandler
 

‍List of


 

Detailed Description

Struct encompassing the list of middlewares and the handler function registered to a specific route.

Member Data Documentation

◆ handler

std::variant<HandlerFn, HandlerWithContentReaderFn> mb::RouteHandler::handler

‍List of

See also
Middlewares for a route.

◆ middlewares

std::vector<MiddlewareFn> mb::RouteHandler::middlewares

The documentation for this struct was generated from the following file: