jml-web-service-0.1.0: Common utilities for running a web service
JmlSvc
Synopsis
data Config Source #
Generic web server configuration.
Constructors
Fields
Instances
Methods
(==) :: Config -> Config -> Bool #
(/=) :: Config -> Config -> Bool #
showsPrec :: Int -> Config -> ShowS #
show :: Config -> String #
showList :: [Config] -> ShowS #
flags :: Parser Config Source #
Command-line flags for generating Config.
Config
run :: MonadIO io => Text -> Config -> Application -> io () Source #
Run a web server for app. Blocks until the server is shut down.
app