Module salvo_core::http
source · Expand description
Http module
Re-exports
pub use cookie;
pub use headers;
pub use mime;
pub use request::Request;
pub use response::ResBody;
pub use response::Response;
Modules
HTTP Errors.
form
HTTP header types
The HTTP request method
Http request.
Http response.
URI component of request and response lines
HTTP version
Structs
A set of HTTP headers
Represents an HTTP header field value.
HTTP Range header representation.
The Request Method (VERB)
A parsed mime or media type.
A stream of
Bytes
, used when receiving bodies.An HTTP status code (
status-code
in RFC 7230 et al.).StatusError contains http error information.
Enums
ParseError, errors happened when read data from http request.