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
Change log
Dependencies base (==4.*), blaze‑builder, conduit (>=1.3), transformers, wai (>=1.3), wai‑eventsource (>=1.3), wai‑extra, yesod‑core (==1.6.*) [details]
License MIT
Author Felipe Lessa <>
Maintainer Felipe Lessa <>
Category Web, Yesod
Home page
Source repo head: git clone
Uploaded by MichaelSnoyman at Fri Feb 2 09:44:08 UTC 2018
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]
Last success reported on 2018-02-02 [all 1 reports]
Hackage Matrix CI

API docs and the README are available at

[Skip to Readme]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for yesod-eventsource-1.6.0

[back to package description]


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