axum_extra::extract

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§

  • Representation of an HTTP cookie.
  • 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§

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