Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 #
YamSettings | |
|
prepareMiddleware :: (Vault -> IO Vault) -> Middleware Source #
errorMiddleware :: (Request -> SomeException -> IO Response) -> Middleware Source #