conf package:happstack-server
Parse command line options into a
Conf.
Default configuration contains no validator and the port is set to
8000
Extend
nullConf by enabling validation and setting
wdgHTMLValidator as the default validator for
text/html.
Example:
simpleHTTP validateConf . anyRequest $ ok htmlPage