wai-app-static-3.0.0.5: WAI application for static serving

Safe HaskellNone
LanguageHaskell98

WaiAppStatic.CmdLine

Description

Command line version of wai-app-static, used for the warp-static server.

Synopsis

Documentation

runCommandLine :: (Args -> Middleware) -> IO () Source

Run with the given middleware and parsing options from the command line.

Since 2.0.1

data Args Source

Constructors

Args 

Fields

docroot :: FilePath
 
index :: [FilePath]
 
port :: Int
 
noindex :: Bool
 
quiet :: Bool
 
verbose :: Bool
 
mime :: [(String, String)]
 
host :: String