Module rocket::request [] [src]

Types and traits for request parsing and handling.

Structs

Form

A FromData type for parsing FromForm types.

FormItems

Iterator over the key/value pairs of a given HTTP form string. You'll likely want to use this if you're implementing FromForm manually, for whatever reason, by iterating over the items in form_string.

Request

The type of an incoming web request.

Traits

FromForm

Trait to create an instance of some type from an HTTP form. The Form type requires that its generic parameter implements 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 used to derive an object from incoming request metadata.

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.