@hackage webapp0.4.0
Haskell web app framework based on WAI & Warp
Categories
License
MIT
Maintainer
Nathaniel Symer <nate@symer.io>
Links
Versions
Deprecated
Dependencies (16)
Dependents (1)
@hackage/acme-everything
Web.App - WAI web framework
Web.App is a general, minimalist Haskell web framework. See Haddock documentation and example.hs.
Usage notes
- Web.App can either be ran standalone (i.e. look ma, no nginx!) or behind other server programs.
- To bind to privileged ports, your program must be executable as root. Privileges are resigned after the port is bound.
- Web.App uses Warp under the hood to serve a WAI app based on provided routes.
- SSL & HTTP2 are supported.
- Web.App provides a function called
webappMain(as well as a series of other similarly named functions) that start your app.
- Your program's
mainfunction should finish with a call to one of them.
- Web.App also provides command line options for controlling the HTTP server.
- It also provides