pub fn session_cookie(token: &str, secure: bool) -> String
Set-Cookie for a session (kernel spec §3.2): HttpOnly, SameSite=Strict, Path=/, for SESSION_TTL_SECS, and Secure unless public_url is loopback http://.
Set-Cookie
HttpOnly
SameSite=Strict
Path=/
SESSION_TTL_SECS
Secure
public_url
http://