web-fpco-0.1.1.0: Wrappers for web frameworks to ease usage with the FP Complete environment.
Snap.Http.Server.Env
Synopsis
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.
httpServe
module Snap.Http.Server