@hackage wai-extra3.1.18
Provides some basic WAI handlers and middleware.
Categories
License
MIT
Maintainer
michael@snoyman.com
Links
Versions
Installation
Dependencies (27)
- HUnit
- aeson
- ansi-terminal >=0.4
- base >=4.12 && <5
- base64-bytestring
- bytestring >=0.10.4 Show all…
Dependents (251)
@hackage/rfc, @hackage/growler, @hackage/microformats2-parser, @hackage/postgres-websockets, @hackage/servant-server, @hackage/wai-cryptocookie, Show all…
Package Flags
build-example
(off by default)
Build example executable.
wai-extra
The goal here is to provide common features without many dependencies.
Example using Server-Sent Events
There is a small example using Server-Sent Events (SSE) in the
./example directory.
Run the commands below to start the server on http://localhost:8080
$ stack build .
$ stack exec example