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.*), transformers, wai (==1.3.*), wai‑eventsource (==1.3.*), yesod‑core (==1.1.*) [details]
License MIT
Author Felipe Lessa <>
Maintainer Felipe Lessa <>
Category Web, Yesod
Home page
Source repo head: git clone
Uploaded by FelipeLessa at Sun Aug 19 18:01:06 UTC 2012
Distributions LTSHaskell:1.6.0, NixOS:1.6.0, Stackage:1.6.0, openSUSE:1.4.1
Downloads 4215 total (46 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
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 (https:/developer.mozilla.orgen-USdocsServer-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).




Maintainer's Corner

For package maintainers and hackage trustees