servant-0.5: A family of combinators for defining webservices APIs

Safe HaskellNone
LanguageHaskell2010

Servant.API.Vault

Synopsis

Documentation

| Use Vault in your API types to provide access to the Vault of the request, which is a location shared by middlewares and applications to store arbitrary data. See Vault for more details on how to actually use the vault in your handlers

Example:

>>> type API = Vault :> Get '[JSON] String

type Vault = Vault RealWorld