Spock-api-server-0.14.0.0: Another Haskell web framework for rapid development
Safe HaskellNone
LanguageHaskell2010

Web.Spock.Api.Server

Synopsis

Documentation

defEndpoint :: forall p i o m ctx. (MonadIO m, HasRep p) => Endpoint p i o -> HVectElim p (HVectElim (MaybeToList i) (ActionCtxT ctx m o)) -> SpockCtxT ctx m () Source #

Wire an Endpoint defined using the Spock-api package