class Athena::Mercure::Hub::Registry

Defined in:

hub/registry.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(default_hub : AMC::Hub::Interface, hubs : Hash(String, AMC::Hub::Interface) = {} of String => AMC::Hub::Interface) #

[View source]

Instance Method Detail

def hub(name : String | Nil = nil) : AMC::Hub::Interface #

[View source]
def hubs : Hash(String, AMC::Hub::Interface) #

[View source]