Module rocket::http [] [src]

Types that map to concepts in HTTP.

This module exports types that map to HTTP concepts or to the underlying HTTP library when needed. Because the underlying HTTP library is likely to change (see #17), types in hyper should be considered unstable.

Modules

hyper

Re-exported hyper HTTP library types.

uncased

Contains types that encapsulate uncased ASCII strings.

uri

Borrowed and owned string types for absolute URIs.

Structs

Accept

The HTTP Accept header.

ContentType

Representation of HTTP Content-Types.

Cookie

Representation of an HTTP cookie.

Header

Simple representation of an HTTP header.

HeaderMap

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

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.

Status

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

Enums

Cookies

Collection of one or more HTTP cookies.

Method

Representation of HTTP methods.

StatusClass

Enumeration of HTTP status classes.