Crate gotham[][src]

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 anyhow;
pub use hyper;
pub use tokio_rustls::rustls;
pub use plain::*;
pub use tls::start as start_with_tls;

Modules

extractor

Extracts request data into type-safe structs using Serde.

handler

Defines types for handlers, the primary building block of a Gotham application.

helpers

Helpers, e.g. for HTTP request handling and response generation

middleware

Defines types for Middleware, a reusable unit of logic that can apply to a group of requests by being added to the Pipeline in a Router.

pipeline

Defines types for a middleware pipeline

plain

Functions for creating a Gotham service using HTTP.

router

Defines the Gotham Router and supporting types.

service

Defines the GothamService type which is used to wrap a Gotham application and interface with Hyper.

state

Defines types for passing request state through Middleware and Handler implementations

test

Test utilities for Gotham and Gotham consumer apps.

tls

Functions for creating a Gotham service using HTTPS.

Functions

bind_server

Returns a Future used to spawn a Gotham application.