[][src]Module rocket::request

Types and traits for request parsing and handling.

Structs

Form

A FromData type for parsing FromForm types strictly.

FormItems

Iterator over the key/value pairs of a given HTTP form string.

LenientForm

A FromData type for parsing FromForm types leniently.

Request

The type of an incoming web request.

State

Request guard to retrieve managed state.

Traits

FromForm

Trait to create an instance of some type from an HTTP form. Form requires its generic type to implement this trait.

FromFormValue

Trait to create instance of some type from a form value; expected from field types in structs deriving FromForm.

FromParam

Trait to convert a dynamic path segment string to a concrete value.

FromRequest

Trait implemented by request guards to derive a value from incoming requests.

FromSegments

Trait to convert many dynamic path segment strings to a concrete value.

Type Definitions

FlashMessage

Type alias to retrieve Flash messages from a request.

Outcome

Type alias for the Outcome of a FromRequest conversion.