class
XMPP::Stanza::PrivateQuery
- XMPP::Stanza::PrivateQuery
- XMPP::Stanza::Extension
- Reference
- Object
Overview
PrivateQuery implements XEP-0049 - Private XML Storage.
The query carries a single arbitrary XML element whose namespace and local name identify the stored data. A get request includes an empty version of that element so the server knows what to return; a set request stores the element verbatim. The element is preserved as a generic Node so any data can round-trip.
Included Modules
Defined in:
xmpp/stanza/iq/private_storage.crConstructors
Class Method Summary
Instance Method Summary
- #data : Node | Nil
- #data=(data : Node | Nil)
- #name : String
- #namespace : String
- #to_xml(xml : XML::Builder)
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