v20.55.0
- Adds named parameter getters (as complement to integral offset getters) like so:
/* Define a parameter route */
.get("/:first/static/:second", [](auto *res, auto *req) {
/* Use the value of a parameter as response */
res->write("<h1>first is: ");
res->write(req->getParameter("first"));
res->write("</h1>");
res->write("<h1>second is: ");
res->write(req->getParameter("second"));
res->end("</h1>");
})
- Adds new example showing the above in use.