MCPcopy Create free account
hub / github.com/CrowCpp/Crow / NullMiddleware

Class NullMiddleware

tests/unittest.cpp:789–801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

787} // black_magic
788
789struct NullMiddleware
790{
791 struct context
792 {};
793
794 template<typename AllContext>
795 void before_handle(request&, response&, context&, AllContext&)
796 {}
797
798 template<typename AllContext>
799 void after_handle(request&, response&, context&, AllContext&)
800 {}
801};
802
803struct NullSimpleMiddleware
804{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected