We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
server.Get("/setcookie/", [](vogro::Context &ctx) { ctx.response->setCookie("id", "123456", "/", "true", "20"); ctx.response->addBody("ok"); }); server.Get("/getcookie/", [](vogro::Context &ctx) { auto cookie = ctx.request->getCookie(); ctx.response->addBody(cookie); });