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.

uri

Borrowed and owned string types for absolute URIs.

Structs

ContentType

Representation of HTTP Content-Types.

Cookie

Representation of an HTTP cookie.

CookieBuilder

Structure that follows the builder pattern for building Cookie structs.

CookieJar

A jar of cookies for managing a session.

Header

Simple representation of an HTTP header.

HeaderMap

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

Status

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

Enums

Method

Representation of HTTP methods.

StatusClass

Enumeration of HTTP status classes.

Type Definitions

Cookies

Type alias to a 'static CookieJar.