module
XMPP::ComponentDelegation
Overview
XEP-0355: Namespace Delegation - Component Side Implementation Allows components to handle delegated namespaces from the server
Direct including types
Defined in:
xmpp/component/delegation.crInstance Method Summary
- #delegation_manager : DelegationManager
-
#handle_delegated_iq(sender : Sender, wrapper_iq : Stanza::IQ, original_iq : Stanza::IQ)
Override this method to handle delegated IQs Default implementation logs and returns service-unavailable
-
#handle_delegation_advertisement(delegation : Stanza::Delegation)
Handle delegation advertisement from server Called when server sends
with element -
#process_delegated_stanza(wrapper_iq : Stanza::IQ) : Stanza::IQ | Nil
Process a delegated stanza from server Server sends:
... -
#setup_delegation_handlers
Setup delegation handlers
-
#wrap_delegated_response(original_wrapper_id : String, response_iq : Stanza::IQ, to : String) : Stanza::IQ
Wrap a response to a delegated stanza Component sends:
...
Instance Method Detail
Override this method to handle delegated IQs Default implementation logs and returns service-unavailable
Handle delegation advertisement from server
Called when server sends
Process a delegated stanza from server
Server sends:
Wrap a response to a delegated stanza
Component sends: