MIT licensed and maintained by Felipe Lessa
This version can be pinned in stack with:yesod-eventsource-1.6.0.1@sha256:651d115a6ddcf122ab8669c925841e4c7e5dce1b966420e3cccd07779efc2ae0,1081

Module documentation for 1.6.0.1

yesod-eventsource

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

Changes

1.6.0.1

  • Update documentation from HandlerT to HandlerFor #1703

1.6.0

  • Upgrade to yesod-core 1.6.0

1.4.1

  • Fix warnings