Crate cookies

Source
Expand description

§cookies

HTTP cookie parsing and building.

This crate tries something a little different. Instead of representing a cookie with a single struct, the concept of a cookie is instead exposed as a trait.

Structs§

Builder
Configure an HTTP cookie with the builder pattern.
Error
Error type when failing to parse or build a Cookie.
SameSite
Value representing the SameSite cookie attribute.

Traits§

Cookie
Cookies in this crate implement this trait.

Functions§

parse
Parse some string as a Cookie.