happstack-0.5.0.2: The haskell application server stack + code generation

Happstack.Server.HSP.HTML

Synopsis

Documentation

webHSP :: MonadIO m => HSP XML -> m ResponseSource

Converts a HSP XML to a Happstack Response. Since HSP XML is the type returned by using literal HTML syntax with HSP, you can wrap up your HTML as webHSP $ html.../html to use it with Happstack.

webHSP' :: MonadIO m => Maybe XMLMetaData -> HSP XML -> m ResponseSource

webHSP with XMLMetaData