class XMPP::Stanza::Caps

Overview

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.

Defined in:

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module XMPP::Stanza::Packet

name : String name, to_xml(xml : XML::Builder)
to_xml : String
to_xml

Constructor Detail

def self.new(node : XML::Node) #

Class Method Detail

def self.xml_name : XMLName #

Instance Method Detail

def ext : String #

def ext=(ext : String) #

def hash : String #
Description copied from class Object

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.


def hash=(hash : String) #

def name : String #

def node : String #

def node=(node : String) #

def to_xml(elem : XML::Builder) #

def ver : String #

def ver=(ver : String) #