mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
5b880cef49
Here is the modified catchall-function example added the code moved to routing.h only the setter remained in app.h the integer return is removed i personally don't need the default parameters: without crow::response the catchall can take no effect and without crow::request you know nothing about the request i only imagine one case, this is to set custom error pages. so i don't thing default parameters have any big benefit here. "#ifdef CROW_CATCHALL" was only for me, to find my own modifications feel free to replace it |
||
---|---|---|
.. | ||
crow | ||
crow.h |