Represents the API that a Mercure hub instance must implement.
Instance methods
public_url
Returns the public URL of this hub used to subscribe.
Sourcepublish(update : AMC::Update) : String
Publishes the provided update to this hub.
Sourcetoken_factory
Returns the AMC::TokenFactory::Interface associated with this hub.
Sourcetoken_provider
Returns the AMC::TokenProvider::Interface associated with this hub.
Sourceurl
Returns the internal URL of this hub used to publish updates.
Source