Expand description
HTTP cookies.
Modules§
- prefix
- Implementation of HTTP RFC6265 draft cookie prefixes.
- time
- Feature flags
Structs§
- Cookie
- Representation of an HTTP cookie.
- Cookie
Builder - Structure that follows the builder pattern for building
Cookie
structs. - Cookie
Jar - A collection of cookies that tracks its modifications.
- Delta
- Iterator over the changes to a cookie jar.
- Display
- Wrapper around
Cookie
whoseDisplay
implementation either percent-encodes the cookie’s name and value, skips displaying the cookie’s parameters (only displaying it’s name and value), or both. - Iter
- Iterator over all of the cookies in a jar.
- Key
- A cryptographic master key for use with
Signed
and/orPrivate
jars. - Private
Jar - A child cookie jar that provides authenticated encryption for its cookies.
- Signed
Jar - A child cookie jar that authenticates its cookies.
- Split
Cookies - An iterator over cookie parse
Result
s:Result<Cookie, ParseError>
.
Enums§
- Expiration
- A cookie’s expiration: either a date-time or session.
- KeyError
- An error indicating an issue with generating or constructing a key.
- Parse
Error - Enum corresponding to a parsing error.
- Same
Site - The
SameSite
cookie attribute.