class XMPP::Route

Defined in:

xmpp/router.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(cb : XMPP::Sender, XMPP::Stanza::Packet -> _) #

[View source]

Instance Method Detail

def add_matcher(m : Matcher) #

[View source]
def iq_namespaces(namespaces : Array(String)) #

[View source]
def match(p : Stanza::Packet) #

[View source]
def packet(name : String) #

packet matches on a packet name (iq, message, presence, ...) It matches on the Local part of the XMLName


[View source]
def stanza_type(types : Array(String)) #

[View source]