Crate salvo[−][src]
Expand description
Salvo is a simple but powerful web server framework written in Rust.
Re-exports
pub use salvo_core as core;
pub use salvo_extra as extra;
Modules
catcher module
fs module
http module
hyper
A list of things that automatically imports into application use salvo.
routing module
writer module
Structs
Default implementation of Catcher.
Depot if for store temp data of current request. Each handler can read or write data to it.
Errors that can happen inside salvo.
Represents an HTTP request.
Represents an HTTP response
Router struct is used for route request to different handlers.
Server type
Service http request.
Server with tls supported.
Traits
Catch error in current response.
Handler trait for handle http request.
Writer is used to write data to response.
Functions
If you don’t want to include tokio in your project directly, you can use this function to start server.
If you don’t want to include tokio in your project directly, you can use this function to start server.
Type Definitions
Result type wich has salvo::Error as it’s error type.
Attribute Macros
fn_handler
is a pro macro to help create Handler
from function easily.