class XMPP::Stanza::StreamSession

Overview

============================================================================ Session (Obsolete) Session is both a stream feature and an obsolete IQ Payload, used to bind a resource to the current XMPP stream on RFC 3121 only XMPP servers. Session is obsolete in RFC 6121. It is added to cr-xmpp for compliance with RFC 3121. Reference: https://xmpp.org/rfcs/rfc3921.html#session

This is the draft defining how to handle the transition: https://tools.ietf.org/html/draft-cridland-xmpp-session-01

Included Modules

Defined in:

xmpp/stanza/sasl_auth.cr

Constructors

Class Method Summary

Instance Method Summary

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

namespace : String namespace

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) #

[View source]
def self.new(optional : Bool = false) #

[View source]

Class Method Detail

def self.xml_name : XMLName #

[View source]

Instance Method Detail

def name : String #

[View source]
def namespace : String #

[View source]
def optional : Bool #

[View source]
def optional=(optional : Bool) #

[View source]
def to_xml(elem : XML::Builder) #

[View source]