I think supporting both way is better if there is a enough explanation. I don't want to drop a simpler way to do the same job.
CROW_ROUTE(app, "/about") ([](){ return "About Crow example"; }); CROW_ROUTE(app, "/about") ([](Response res){ res.send("About Crow example"); });
I think supporting both way is better if there is a enough explanation. I don't want to drop a simpler way to do the same job.