function set_cookie
C++
void set_cookie(std::string_view name, std::string_view value, const CookieOptions &opts = {})
Queue a Set-Cookie header for the current HTTP response. No-op when called from a non-HTTP session.
include/nprpc/http_auth.hpp:65