module XMPP::Stanza::Parser
Extended Modules
Defined in:
xmpp/stanza/parser.crInstance Method Summary
-
#decode_client(node : XML::Node)
decode_client decodes all known packets in the client namespace
-
#decode_component(node : XML::Node)
decode_component decodes all known packets in the component namespace
-
#decode_sasl(node : XML::Node)
decode_sasl decodes a packet related to SASL authentication
-
#decode_stream(node : XML::Node)
decode_stream will fully decode a stream packet
- #init_stream(node : XML::Node)
-
#next_packet(node : XML::Node, xmlns = NS_CLIENT) : Packet
next_packet scans XML token stream for next complete XMPP stanza.
Instance Method Detail
def decode_client(node : XML::Node)
#
decode_client decodes all known packets in the client namespace
def decode_component(node : XML::Node)
#
decode_component decodes all known packets in the component namespace
next_packet scans XML token stream for next complete XMPP stanza. Once the type of stanza has been identified, a structure is created to decode that stanza and returned.