module Athena::Mercure::Hub::Interface
#
Represents the API that a Mercure hub instance must implement.
Direct including types
Athena::Mercure::Hub
Athena::Mercure::Spec::MockHub
Methods#
abstract #publish(update : AMC::Update) : String#
Publishes the provided update to this hub.
abstract #token_factory : AMC::TokenFactory::Interface | ::Nil#
Returns the AMC::TokenFactory::Interface associated with this hub.
abstract #token_provider : AMC::TokenProvider::Interface | ::Nil#
Returns the AMC::TokenProvider::Interface associated with this hub.