SNode.C
|
#include <MiddlewareDispatcher.h>
Public Member Functions | |
MiddlewareDispatcher (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, express::Next &)> &lambda) | |
Public Member Functions inherited from express::Dispatcher | |
Dispatcher (const Dispatcher &)=delete | |
Dispatcher & | operator= (const Dispatcher &)=delete |
Dispatcher ()=default | |
virtual | ~Dispatcher () |
bool | dispatchNext (Controller &controller, const std::string &parentMountPath) |
Private Member Functions | |
bool | dispatch (express::Controller &controller, const std::string &parentMountPath, const express::MountPoint &mountPoint) override |
Private Attributes | |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, express::Next &)> | lambda |
Definition at line 41 of file MiddlewareDispatcher.h.
|
explicit |
Definition at line 33 of file MiddlewareDispatcher.cpp.
References MiddlewareDispatcher().
Referenced by MiddlewareDispatcher().
|
overrideprivatevirtual |
Implements express::Dispatcher.
Definition at line 38 of file MiddlewareDispatcher.cpp.
References express::Controller::getFlags(), express::Controller::NEXT, and express::Next::Next().
|
private |
Definition at line 49 of file MiddlewareDispatcher.h.