Skip to main content

Module header

Module header 

Source
Expand description

Typed header and cookie extractors and Set-Cookie responses.

Structs§

Accept
The Accept request header.
Cookies
Cookies parsed from the request Cookie header.
Header
Extractor for a required typed header H.
SetCookie
Builder for a Set-Cookie header.
UserAgent
The User-Agent request header.
WithCookies
Wraps a response and appends Set-Cookie headers.

Enums§

SameSite
SameSite attribute for a SetCookie.

Traits§

NamedHeader
A typed HTTP header identified by a static name.