Skip to content

std::http::state

Status: experimental

Handler-side dependency injection via a typed AppState.

API details and source

The implementation source contains the complete declarations and implementation notes. The table below lists canonical Gossamer call signatures; every item name links directly to its implementation file.

Item Canonical signature or declaration Description
AppState type AppState TypeMap of Arc values shared across handlers.
State type State Newtype wrapper Arc for ergonomic handler arguments.