XMPP::Client
Inherits XMPP::StreamManagement / XMPP::EventManager / XMPP::StreamClient / XMPP::Sender / Reference / Object
Constructors
Instance methods
Bare JID (node@domain) of the account, derived from the bound JID when available and falling back to the configured JID.
connect triggers actual TCP connection, based on previously defined parameters. connect simply triggers resumption, with an empty session state.
request performs a synchronous IQ request/response round-trip and returns the matching result stanza (or the IQ error stanza) within the given timeout. Returns nil if no response arrives before the timeout.
Resume attempts resuming a Stream Managed session, based on the provided stream management state
send sends an XMPP stanza as a string to the server. It can be invalid XML or XMPP content. In that case, the server will disconnect the client. It is up to the user of this method to carefully craft the XML content to produce valid XMPP.
Components and custom stream clients that do not implement XEP-0198 retain the zero/false defaults.