-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Command line runner for Wai apps (using Warp) with TLS, CGI, socket activation & graceful shutdown
--   
--   Command line runner for Wai apps (using Warp) with support for UNIX
--   domain sockets, TLS (can be turned off with a cabal flag to avoid
--   compiling the TLS library), CGI, socket activation
--   (systemd-compatible, but see <a>https://github.com/myfreeweb/soad</a>
--   for a more interesting (and not linux-only) thing than what systemd
--   does), and graceful shutdown (on TERM signal).
@package wai-cli
@version 0.1.1

module Network.Wai.Cli
data GracefulMode
ServeNormally :: GracefulMode
Serve503 :: GracefulMode
data WaiOptions
WaiOptions :: Int -> String -> String -> String -> String -> String -> Maybe Bool -> WaiOptions
[port] :: WaiOptions -> Int
[socket] :: WaiOptions -> String
[protocol] :: WaiOptions -> String
[tlsKeyFile] :: WaiOptions -> String
[tlsCertFile] :: WaiOptions -> String
[gracefulMode] :: WaiOptions -> String
[devlogging] :: WaiOptions -> Maybe Bool
runActivated :: (Settings -> Socket -> Application -> IO ()) -> Settings -> Application -> IO ()
runGraceful :: GracefulMode -> (Settings -> Application -> IO ()) -> Settings -> Application -> IO ()
waiMain :: (WaiOptions -> IO ()) -> (WaiOptions -> IO ()) -> Application -> IO ()
defPutListening :: WaiOptions -> IO ()
defWaiMain :: Application -> IO ()
instance Options.Options Network.Wai.Cli.WaiOptions
