yesod-eventsource: Server-sent events support for Yesod apps.
It's easy to send an event from an HTTP client to a server: just send an HTTP request. However, sending events from the server to the client requires more sophisticated approaches. Server-sent events (http://www.w3.org/TR/eventsource/) are a standardized way of pushing events from the server to the client.
This package allows your Yesod application to easily send
server-sent events. On the client side, you may use the
EventSource
JavaScript object on browsers that support it
(https://developer.mozilla.org/en-US/docs/Server-sent_events/EventSource)
or a polyfill for browsers that don't (we support Remy's
polyfill out-of-the-box, although that requires you to
explicitly support it).
Downloads
- yesod-eventsource-1.4.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 1.0, 1.0.0.1, 1.0.1, 1.1, 1.1.0.1, 1.1.0.2, 1.1.1, 1.1.1.1, 1.4.0, 1.4.0.1, 1.4.1, 1.6.0, 1.6.0.1 |
---|---|
Dependencies | base (>=4 && <5), blaze-builder, conduit (>=0.5 && <1.3), transformers, wai (>=1.3), wai-eventsource (>=1.3), wai-extra, yesod-core (>=1.4 && <1.5) [details] |
License | MIT |
Author | Felipe Lessa <felipe.lessa@gmail.com> |
Maintainer | Felipe Lessa <felipe.lessa@gmail.com> |
Category | Web, Yesod |
Home page | http://www.yesodweb.com/ |
Source repo | head: git clone https://github.com/yesodweb/yesod |
Uploaded | by MichaelSnoyman at 2014-09-30T03:55:28Z |
Distributions | LTSHaskell:1.6.0.1, NixOS:1.6.0.1, Stackage:1.6.0.1 |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 10060 total (58 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |