Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Instead of running hprox
binary directly, you can use this library
to run HProx in front of arbitrary WAI Application
.
Documentation
Configuration of HProx, see hprox --help
for details
Logging level, default value is INFO
defaultConfig :: Config Source #
Default value of Config
, same as running hprox
without arguments
:: Application | fallback application |
-> Config | configuration |
-> IO () |
Run HProx in front of fallback Application
, with specified Config