[][src]Module rocket::http

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

Contains types that encapsulate uncased ASCII strings.

uri

Types for URIs and traits for rendering URI components.

Structs

Accept

The HTTP Accept header.

ContentType

Representation of HTTP Content-Types.

Cookie

Representation of an HTTP cookie.

CookieJar

A collection of cookies that tracks its modifications.

Header

Simple representation of an HTTP header.

HeaderMap

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

Key

A cryptographic master key for use with Signed and/or Private jars.

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.

SmallVec

A Vec-like container that can store a small number of elements inline.

Status

Structure representing an HTTP status: an integer code and a reason phrase.

Enums

Cookies

Collection of one or more HTTP cookies.

Indexed
MediaParams
Method

Representation of HTTP methods.

SameSite

The SameSite cookie attribute.

Source
StatusClass

Enumeration of HTTP status classes.

Traits

Array

Types that can be used as the backing store for a SmallVec