Module axum_extra::extract::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
- Representation of an HTTP cookie.
- Extractor that grabs cookies from the request and manages the jar.
- Key
cookie-signed
orcookie-private
A cryptographic master key for use withSigned
and/orPrivate
jars. - PrivateCookieJar
cookie-private
Extractor that grabs private cookies from the request and manages the jar. - SignedCookieJar
cookie-signed
Extractor that grabs signed cookies from the request and manages the jar.
Enums
- A cookie’s expiration: either a date-time or session.
- The
SameSite
cookie attribute.