module

Athena::Mercure::Hub::Interface

Represents the API that a Mercure hub instance must implement.

Instance methods

public_url

Returns the public URL of this hub used to subscribe.

Source
publish(update : AMC::Update) : String

Publishes the provided update to this hub.

Source
token_factory

Returns the AMC::TokenFactory::Interface associated with this hub.

Source
token_provider

Returns the AMC::TokenProvider::Interface associated with this hub.

Source
url

Returns the internal URL of this hub used to publish updates.

Source