class

XMPP::ComponentDelegation::DelegationManager

Inherits Reference / Object

Manages delegated namespaces for a component

Instance methods

add_delegation(namespace : String, attributes : Array(String) = [] of String)

Add a delegated namespace

Source
delegated?(namespace : String) : Bool

Check if a namespace is delegated

Source
delegations
Source
delegations=(delegations : Hash(String, DelegationInfo))
Source
get_delegation(namespace : String) : DelegationInfo | Nil

Get delegation info for a namespace

Source
should_handle?(stanza : Stanza::Packet) : Bool

Check if a stanza should be handled by delegation

Source