class

XMPP::ComponentDisco::DiscoItems

Inherits Reference / Object

DiscoItems holds the items associated with the component

Instance methods

add_item(jid : String, node : String = "", name : String = "")

Add an item to the root

Source
add_node_item(parent_node : String, jid : String, node : String = "", name : String = "")

Add an item to a specific node

Source
build_response(node : String = "") : Stanza::DiscoItems

Build a disco#items response

Source
items
Source
items=(items : Array(Stanza::DiscoItem))
Source
node_items
Source
node_items=(node_items : Hash(String, Array(Stanza::DiscoItem)))
Source