Module salvo_core::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.

Re-exports

pub use body_chunk::BodyChunk;
pub use cookie;
pub use range::HttpRange;
pub use request::Request;
pub use response::Response;
pub use errors::HttpError;
pub use errors::ReadError;
pub use headers;

Modules

body_chunk

Client- and server-side abstractions for HTTP multipart/form-data requests using asynchronous I/O.

errors
form
header

HTTP header types

multipart
range
request
response

Structs

HeaderMap

A set of HTTP headers

HeaderValue

Represents an HTTP header field value.

Method

The Request Method (VERB)

Mime

A parsed mime or media type.

StatusCode

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

Functions

guess_accept_mime