Module rocket::http[][src]

Expand description

Types that map to concepts in HTTP.

This module exports types that map to HTTP concepts or to the underlying HTTP library when needed.

Modules

ext

Extension traits implemented by several HTTP types.

hyper

Re-exported hyper HTTP library types.

uncased

Case-preserving, ASCII case-insensitive string types.

uri

Types for URIs and traits for rendering URI components.

Macros

impl_from_uri_param_identity

Macro to automatically generate identity FromUriParam trait implementations.

Structs

Accept

The HTTP Accept header.

ContentType

Representation of HTTP Content-Types.

Cookie

Representation of an HTTP cookie.

CookieJar

Collection of one or more HTTP cookies.

Header

Simple representation of an HTTP header.

HeaderMap

A collection of headers, mapping a header name to its many ordered values.

Iter

Iterator over all of the cookies in a jar.

MediaType

An HTTP media type.

QMediaType

A MediaType with an associated quality value.

RawStr

A reference to a string inside of a raw HTTP message.

RawStrBuf

An owned version of RawStr.

Status

Structure representing an HTTP status: an integer code.

Enums

Method

Representation of HTTP methods.

SameSite

The SameSite cookie attribute.

StatusClass

Enumeration of HTTP status classes.