Module salvo_extra::serve_static
source · [−]Available on crate feature
serve-static
only.Expand description
serve static dir and file middleware
Re-exports
pub use dir::StaticDir;
pub use dir::StaticDirOptions;
Modules
serve static dir
Structs
Serve static embed assets.
StaticFile
Traits
Extension trait for [EmbeddedFile
].
Functions
Render [EmbeddedFile
] to Response
.
Create a new StaticEmbed
middleware.