Module salvo_core::http[][src]

Re-exports

pub use body_chunk::BodyChunk;
pub use cookie;
pub use errors::HttpError;
pub use errors::ReadError;
pub use range::HttpRange;
pub use request::Request;
pub use response::Response;
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

method

The HTTP request method

multipart
range
request
response
uri

URI component of request and response lines

version

HTTP version

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.).

Traits

HttpBody

Trait representing a streaming body of a Request or Response.

Functions

guess_accept_mime