XMPP::StreamManager(T)
StreamManager supervises an XMPP client connection. Its role is to handle connection events and apply reconnection strategy.
Constructors
new(client : T, retry_count : Int32 = 5, post_connect : Nil | XMPP::Sender -> _ = nil, reconnect_policy : XMPP::ReconnectPolicy = ReconnectPolicy.new)
SourceInstance methods
metrics
Sourcereconnect_policy
Sourcerun
run launches the connection of the underlying client or component and wait until disconnect is called, or for the manager to terminate due to an unrecoverable exception