Module viz_core::http[][src]

Re-exports

pub use headers;

Modules

header

HTTP header types

method

The HTTP request method

request

HTTP request types.

response

HTTP response types.

status

HTTP status codes

uri

URI component of request and response lines

version

HTTP version

Structs

Body

A stream of Bytes, used when receiving bodies.

Error

A generic “error” for HTTP connections

Error

Represents errors that can occur handling HTTP streams.

Extensions

A type map of protocol extensions.

HeaderMap

A set of HTTP headers

HeaderValue

Represents an HTTP header field value.

Method

The Request Method (VERB)

Request

Represents an HTTP request.

Response

Represents an HTTP response

StatusCode

An HTTP status code (status-code in RFC 7230 et al.).

Uri

The URI component of a request.

Version

Represents a version of the HTTP spec.

Type Definitions

Request
Response
Result

A Result typedef to use with the http::Error type