SNode.C
|
#include <ApplicationDispatcher.h>
Public Member Functions | |
ApplicationDispatcher (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) | |
![]() | |
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 > &)> | lambda |
Definition at line 40 of file ApplicationDispatcher.h.
|
explicit |
Definition at line 33 of file ApplicationDispatcher.cpp.
References ApplicationDispatcher().
Referenced by ApplicationDispatcher().
|
overrideprivatevirtual |
Implements express::Dispatcher.
Definition at line 38 of file ApplicationDispatcher.cpp.
References express::Controller::getFlags(), and express::Controller::NEXT.
|
private |
Definition at line 48 of file ApplicationDispatcher.h.