module XMPP::StreamClient

Overview

StreamClient is an interface used by StreamManager to control Client lifecycle, set callback and trigger reconnection.

Included Modules

Direct including types

Defined in:

xmpp/xmpp.cr

Instance Method Summary

Instance methods inherited from module XMPP::Sender

send(packet : String)
send(packet : Stanza::Packet)
send

Instance Method Detail

abstract def connect #

[View source]
abstract def disconnect #

[View source]
abstract def event_handler=(handler : EventHandler | Nil) #

[View source]
def last_resume_succeeded? : Bool #

[View source]
abstract def resume(state : SMState) #

[View source]
def unacknowledged_stanza_count : Int32 #

Components and custom stream clients that do not implement XEP-0198 retain the zero/false defaults.


[View source]