yesod-eventsource: Server-sent events support for Yesod apps.

[ library, mit, web, yesod ] [ Propose Tags ]
Versions 1.0,, 1.0.1, 1.1,,, 1.1.1,, 1.4.0,, 1.4.1, 1.6.0
Dependencies base (==4.*), blaze‑builder, conduit (>=0.5 && <1.1), transformers, wai (>=1.3), wai‑eventsource (>=1.3), yesod‑core (==1.2.*) [details]
License MIT
Author Felipe Lessa <>
Maintainer Felipe Lessa <>
Category Web, Yesod
Home page
Source repo head: git clone
Uploaded by MichaelSnoyman at Tue Feb 11 03:46:30 UTC 2014
Distributions LTSHaskell:1.6.0, NixOS:1.6.0, Stackage:1.6.0, openSUSE:1.4.1
Downloads 4215 total (47 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]
Hackage Matrix CI

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 ( 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 ( 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).




Maintainer's Corner

For package maintainers and hackage trustees