Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
serve :: (HasMeta route, HasCaptureDecoding (CaptureStrategy route), HasCaptureDecoding (QueryStrategy route), RequestBodyStrategy route ~ Many requestBodyStrat, HasBodyDecoding requestBodyStrat, ResponseBodyStrategy route ~ Many responseBodyStrat, HasBodyEncoding responseBodyStrat, EnumerableRoute route) => (forall caps qrys req resp. route caps qrys req resp -> Rec Identity caps -> Rec Parameter qrys -> RequestBody Identity req -> TrasaT IO resp) -> Application Source #