Module cookie

Source
Available on crate feature cookie only.
Expand description

Cookie parsing and cookie jar management.

See CookieJar, SignedCookieJar, and PrivateCookieJar for more details.

Structs§

Cookie
Representation of an HTTP cookie.
CookieJar
Extractor that grabs cookies from the request and manages the jar.
Keycookie-signed or cookie-private
A cryptographic master key for use with Signed and/or Private jars.
PrivateCookieJarcookie-private
Extractor that grabs private cookies from the request and manages the jar.
SignedCookieJarcookie-signed
Extractor that grabs signed cookies from the request and manages the jar.

Enums§

Expiration
A cookie’s expiration: either a date-time or session.
SameSite
The SameSite cookie attribute.