class XMPP::ComponentDelegation::DelegationManager

Overview

Manages delegated namespaces for a component

Defined in:

xmpp/component/delegation.cr

Instance Method Summary

Instance Method Detail

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

Add a delegated namespace


[View source]
def delegated?(namespace : String) : Bool #

Check if a namespace is delegated


[View source]
def delegations : Hash(String, DelegationInfo) #

[View source]
def delegations=(delegations : Hash(String, DelegationInfo)) #

[View source]
def get_delegation(namespace : String) : DelegationInfo | Nil #

Get delegation info for a namespace


[View source]
def should_handle?(stanza : Stanza::Packet) : Bool #

Check if a stanza should be handled by delegation


[View source]