std1.0.0-beta-7 SafeC docs

std :: http::cookie

Function std::http_set_cookie

#include <std/http/cookie.h> source ยท definition

void http_set_cookie(&HttpResponse resp, const &SetCookie c)

Appends "Set-Cookie: <c.to_string()>" to the response's headers (one per call; several cookies mean several calls).