Skip to main content

Module cookie

Module cookie 

Source
Expand description

The session cookie: configuration, Set-Cookie rendering and Cookie parsing.

The cookie value is the bare token (43 base64url characters); nothing else is encoded in it.

Structs§

CookieConfig
Session cookie attributes.

Enums§

SameSite
The cookie SameSite attribute.

Functions§

find_cookie
Finds name in a Cookie header value. Never panics on arbitrary input.