Module salvo_core::http
source · Expand description
The http related types and functions.
Re-exports§
pub use errors::ParseError;
pub use errors::StatusError;
pub use request::Request;
pub use body::ReqBody;
pub use body::ResBody;
pub use response::Response;
pub use cookie;
cookie
pub use headers;
pub use mime;
Modules§
- Http body.
- HTTP Errors.
- form parse module
- HTTP header types
- The HTTP request method
- Http request.
- Http response.
- URI component of request and response lines
Structs§
- A set of HTTP headers
- Represents an HTTP header field name
- Represents an HTTP header field value.
- HTTP Range header representation.
- The Request Method (VERB)
- A parsed mime or media type.
- An HTTP status code (
status-code
in RFC 7230 et al.). - Represents a version of the HTTP spec.
Traits§
- Trait representing a streaming body of a Request or Response.
- A helper trait for http connection.