[][src]Module hyperbole::mw

Middleware combinators.

Structs

HeaderError

An error encountered during header resolution.

Enums

CookieError

An error encountered during cookie resolution.

Functions

cookie

Extract a cookie from the request context. The cookie name should be passed via const generic parameter.

cookie_opt

Extract an optional cookie from the request context. The cookie name should be passed via const generic parameter.

drop

Drop an element in the request context.

header

Extract a HeaderValue from the request context by name.

header_opt

Extract an optional HeaderValue from the request context by name.

rename

Rename a named field in the request context.

typed_header

Extract a typed header from the request context.

typed_header_opt

Extract an optional typed header from the request context.