Module salvo_core::prelude[][src]

Re-exports

pub use crate::http::errors::*;
pub use crate::http::Request;
pub use crate::http::Response;
pub use crate::routing::filter;
pub use crate::server::Server;
pub use crate::server::TlsServer;
pub use crate::writer::*;

Structs

Depot if for store temp data of current request. Each handler can read or write data to it.

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

Traits

Attribute Macros

fn_handler is a pro macro to help create Handler from function easily.