Module rocket_okapi_fork::handlers [−][src]
Expand description
Contains several Rocket
Handler
s, which are used for serving the json files and the swagger
interface.
Structs
A content handler is a wrapper type around rocket::response::Content
, which can be turned into
a rocket::Route
that serves the content with correct content-type.
A handler type that is used to serve the openapi.json
files.
A handler that instead of serving content always redirects to some specified destination URL.