slixmpp/sleekxmpp/xmlstream
Lance Stout eff3330e75 Add support for incoming/outgoing filters.
A filter accepts and returns a stanza, but potentially modified.

To prevent sending/receiving a stanza, a filter may return None.

Incoming:
    self.add_filter('in', in_filter)

Outgoing:
    self.add_filter('out', out_filter)

Filters are applied in the order thay are added. However, you may
add an order parameter, which is the place in the list to insert the
filter:

    self.add_filter('in', in_filter, order=0)
2011-12-12 22:17:07 -08:00
..
handler
matcher
__init__.py
filesocket.py
jid.py
scheduler.py
stanzabase.py Add support for incoming/outgoing filters. 2011-12-12 22:17:07 -08:00
test.py
test.xml
testclient.py
tostring.py
xmlstream.py Add support for incoming/outgoing filters. 2011-12-12 22:17:07 -08:00