Expand description
Gotham – A flexible web framework that promotes stability, safety, security and speed.
You can find out more about Gotham, including where to get help, at https://gotham.rs.
We look forward to welcoming you into the Gotham community!
Re-exports§
pub use tls::start as start_with_tls;
pub use anyhow;
pub use cookie;
pub use hyper;
pub use mime;
pub use tokio_rustls::rustls;
pub use plain::*;
Modules§
- Extracts request data into type-safe structs using Serde.
- Defines types for handlers, the primary building block of a Gotham application.
- Helpers, e.g. for HTTP request handling and response generation
- Defines types for
Middleware
, a reusable unit of logic that can apply to a group of requests by being added to thePipeline
in aRouter
. - Defines types for a middleware pipeline
- Functions for creating a Gotham service using HTTP.
- A collection of useful traits and macros that should always be imported.
- Defines the Gotham
Router
and supporting types. - Defines the
GothamService
type which is used to wrap a Gotham application and interface with Hyper. - Defines types for passing request state through
Middleware
andHandler
implementations - Test utilities for Gotham and Gotham consumer apps.
- Functions for creating a Gotham service using HTTPS.
Enums§
- The error that can occur when starting the gotham server.
Functions§
- Returns a
Future
used to spawn a Gotham application.