summaryrefslogtreecommitdiff
path: root/docs/_static/basic.css
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-12-12 22:17:07 -0800
committerLance Stout <lancestout@gmail.com>2011-12-12 22:17:07 -0800
commiteff3330e754cfbb496d6ba761d0a821375f575c8 (patch)
tree0f141e4fa1a2fdfc5f3c7bb9621e1fff235dcecc /docs/_static/basic.css
parentfc8a13df5a76176eb843ee0c4c4d4da462d3ab3b (diff)
downloadslixmpp-eff3330e754cfbb496d6ba761d0a821375f575c8.tar.gz
slixmpp-eff3330e754cfbb496d6ba761d0a821375f575c8.tar.bz2
slixmpp-eff3330e754cfbb496d6ba761d0a821375f575c8.tar.xz
slixmpp-eff3330e754cfbb496d6ba761d0a821375f575c8.zip
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)
Diffstat (limited to 'docs/_static/basic.css')
0 files changed, 0 insertions, 0 deletions