ema-0.10.0.0: Static site generator library with hot reload
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ema.Server

Synopsis

Documentation

emaErrorHtmlResponse :: Text -> LByteString Source #

A basic error response for displaying in the browser

pathInfoFromWsMsg :: Text -> [Text] Source #

Return the equivalent of WAI's pathInfo, from the raw path string (`document.location.pathname`) the browser sends us.

data BadRouteEncoding r Source #

Instances

Instances details
Show r => Show (BadRouteEncoding r) Source # 
Instance details

Defined in Ema.Server