Shpadoinkle-router-0.2.0.0: A single page application rounter for Shpadoinkle based on Servant.

Safe HaskellNone
LanguageHaskell2010

Shpadoinkle.Router.HTML

Description

HTML is a Servant combinator for the "text/html" MIME type, equipped with instances for serving Shpadoinkle's Html type.

Documentation

data HTML Source #

Instances
Accept HTML Source # 
Instance details

Defined in Shpadoinkle.Router.HTML

MimeRender HTML (Html m a) Source # 
Instance details

Defined in Shpadoinkle.Router.HTML

Methods

mimeRender :: Proxy HTML -> Html m a -> ByteString #