trasa-server-0.4: Type safe web server

Safe HaskellNone
LanguageHaskell2010

Trasa.Server.Implicit

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 #