class

XMPP::Stanza::StreamFeatures

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

StreamFeatures Packet Reference: The active stream features are published on https://xmpp.org/registrar/stream-features.html Note: That page misses draft and experimental XEP (i.e CSI, etc)

Constructors

new(xml : String)
Source
new(node : XML::Node)

ameba:disable Metrics/CyclomaticComplexity

Source

Class methods

xml_name

Server capabilities hash

Source

Instance methods

any=(any : Array(Node))
Source
bind
Source
bind=(bind : Bind | Nil)
Source
caps
Source
caps=(caps : Caps | Nil)
Source
does_start_tls
Source
does_stream_management
Source
mechanisms
Source
mechanisms=(mechanisms : SASLMechanisms | Nil)
Source
name
Source
p1_ack
Source
p1_ack=(p1_ack : P1Ack | Nil)
Source
p1_push

ProcessOne Stream Features

Source
p1_push=(p1_push : P1Push | Nil)

ProcessOne Stream Features

Source
p1_rebind
Source
p1_rebind=(p1_rebind : P1Rebind | Nil)
Source
sasl2_authentication
Source
sasl2_authentication=(sasl2_authentication : SASL2Authentication | Nil)
Source
sasl_channel_binding
Source
sasl_channel_binding=(sasl_channel_binding : SASLChannelBinding | Nil)
Source
session

Obsolete

Source
session=(session : StreamSession | Nil)

Obsolete

Source
start_tls

Stream features

Source
start_tls=(start_tls : TLSStartTLS | Nil)

Stream features

Source
stream_management
Source
stream_management=(stream_management : StreamManagement | Nil)
Source
supports_sasl2?

Check if server supports SASL2 (XEP-0388)

Source
tls_required
Source
to_xml(xml : XML::Builder)
Source