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

Class NullSimpleMiddleware

tests/unittest.cpp:803–811  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

801};
802
803struct NullSimpleMiddleware
804{
805 struct context
806 {};
807
808 void before_handle(request& /*req*/, response& /*res*/, context& /*ctx*/) {}
809
810 void after_handle(request& /*req*/, response& /*res*/, context& /*ctx*/) {}
811};
812
813TEST_CASE("middleware_simple")
814{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected