This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
{-# LANGUAGE OverloadedStrings #-}
module Main where
import Network.Wai (responseLBS)
import Network.HTTP.Types.Status (status200)
import Reflex.Backend.Warp (runAppForever)
main :: IO ()
main =
runAppForever 8080 $ \eReq -> do
let eRes = responseLBS status200 [] "Hi" <$ eReq
pure eRes