Module rocket::request

source ·
Expand description

Types and traits for request parsing and handling.

Macros

  • Store and immediately retrieve a vector-like value $v (String or Vec<T>) in $request’s local cache using a locally generated anonymous type to avoid type conflicts.
  • Store and immediately retrieve a value $v in $request’s local cache using a locally generated anonymous type to avoid type conflicts.

Structs

  • The type of an incoming web request.

Traits

  • Trait to convert a dynamic path segment string to a concrete value.
  • Trait implemented by request guards to derive a value from incoming requests.
  • Trait to convert many dynamic path segment strings to a concrete value.

Type Aliases

  • Type alias to retrieve Flash messages from a request.
  • Type alias for the Outcome of a FromRequest conversion.