class Athena::Mercure::Hub
- Athena::Mercure::Hub
- Reference
- Object
Included Modules
Defined in:
hub/hub.crhub/interface.cr
Constructors
Instance Method Summary
- #public_url : String
- #publish(update : AMC::Update) : String
- #token_factory : AMC::TokenFactory::Interface | Nil
- #token_provider : AMC::TokenProvider::Interface
- #url : String
Instance methods inherited from module Athena::Mercure::Hub::Interface
public_url : String
public_url,
publish(update : AMC::Update) : String
publish,
token_factory : AMC::TokenFactory::Interface | Nil
token_factory,
token_provider : AMC::TokenProvider::Interface
token_provider,
url : String
url
Constructor Detail
def self.new(url : String, token_provider : AMC::TokenProvider::Interface, public_url : String | Nil = nil, token_factory : AMC::TokenFactory::Interface | Nil = nil, http_client : HTTP::Client | Nil = nil)
#