| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Yam.Web
Documentation
prepareMiddleware :: (Vault -> IO Vault) -> Middleware Source #
errorMiddleware :: (Request -> SomeException -> IO Response) -> Middleware Source #
mkServe :: API api => Vault -> [Middleware] -> Proxy api -> ServerT api App -> Application Source #
mkServe' :: (API api, API api') => (API' api -> API' api') -> Vault -> [Middleware] -> Proxy api -> ServerT api App -> Application Source #
mkServeWithSwagger :: (HasSwagger api, API api) => YamSettings -> Proxy api -> ServerT api App -> Application Source #
data YamSettings Source #
Constructors
| YamSettings | |
Fields
| |
prepareMiddleware :: (Vault -> IO Vault) -> Middleware Source #
errorMiddleware :: (Request -> SomeException -> IO Response) -> Middleware Source #