Module rocket_contrib::serve [−][src]
Expand description
Custom handler and options for static file serving.
See the StaticFiles
type for further details.
Enabling
This module is only available when the serve
feature is enabled. Enable it
in Cargo.toml
as follows:
[dependencies.rocket_contrib]
version = "0.4.10"
default-features = false
features = ["serve"]
Structs
A bitset representing configurable options for the StaticFiles
handler.
Custom handler for serving static files.