web-fpco-0.1.1.0: Wrappers for web frameworks to ease usage with the FP Complete environment.

Safe HaskellNone

Snap.Http.Server.Env

Synopsis

Documentation

httpServe :: Config Snap a -> Snap () -> IO ()Source

An alternate httpServe which reads the port to listen to from the PORT environment variable. This configuration approach is used by the FP Complete School of Haskell and the Keter deployment manager.