class

XMPP::Stanza::Caps

Inherits XMPP::Stanza::PresExtension / XMPP::Stanza::Extension / XMPP::Stanza::Packet / Reference / Object

Capabilities Reference: https://xmpp.org/extensions/xep-0115.html#stream "A server MAY include its entity capabilities in a stream feature element so that connecting clients and peer servers do not need to send service discovery requests each time they connect." This is not a stream feature but a way to let client cache server disco info.

Constructors

new(node : XML::Node)
Source

Class methods

xml_name
Source

Instance methods

ext=(ext : String)
Source
hash

Generates an UInt64 hash value for this object.

This method must have the property that a == b implies a.hash == b.hash.

The hash value is used along with == by the Hash class to determine if two objects reference the same hash key.

Subclasses must not override this method. Instead, they must define hash(hasher), though usually the macro def_hash can be used to generate this method.

Source
hash=(hash : String)
Source
name
Source
node
Source
node=(node : String)
Source
to_xml(xml : XML::Builder)
Source
ver=(ver : String)
Source