Skip to content

module Athena::Mercure #

The Athena::Mercure component allows easily pushing updates to web browsers and other HTTP clients using the Mercure protocol. Because it is built on top of Server-Sent Events (SSE), Mercure is supported out of the box in modern browsers.

Mercure comes with an authorization mechanism, automatic reconnection in case of network issues with retrieving of lost updates, a presence API, "connection-less" push for smartphones and auto-discoverability (a supported client can automatically discover and subscribe to updates of a given resource thanks to a specific HTTP header).

Constants#

VERSION = "0.1.0"#