d979b5f2b9
New plugin configuration options: use_cache - Enable caching disco info results. Defaults to True wrap_results - Always return disco results in an Iq stanza. Defaults to False Node handler changes: Handlers now take four arguments: jid, node, ifrom, data Most older style handlers will still work, depending on if they raise a TypeError for incorrect number of arguments. Handlers that used *args may not work. New get_info options: cached - Passing cached=True to get_info() will attempt to load results from the cache. If nothing is found, a query will be sent as normal. If set to False, the cache will be skipped, even if it contains results. New method: supports() - Given a JID/node pair and a feature, return True if the feature is supported, False if not, and None if there was a timeout. By default, the search will use the cache. |
||
---|---|---|
.. | ||
__init__.py | ||
live_multiple_streams.py | ||
live_test.py | ||
test_events.py | ||
test_jid.py | ||
test_overall.py | ||
test_stanza_base.py | ||
test_stanza_element.py | ||
test_stanza_error.py | ||
test_stanza_gmail.py | ||
test_stanza_iq.py | ||
test_stanza_message.py | ||
test_stanza_presence.py | ||
test_stanza_roster.py | ||
test_stanza_xep_0004.py | ||
test_stanza_xep_0009.py | ||
test_stanza_xep_0030.py | ||
test_stanza_xep_0033.py | ||
test_stanza_xep_0050.py | ||
test_stanza_xep_0059.py | ||
test_stanza_xep_0060.py | ||
test_stanza_xep_0085.py | ||
test_stream.py | ||
test_stream_exceptions.py | ||
test_stream_filters.py | ||
test_stream_handlers.py | ||
test_stream_presence.py | ||
test_stream_roster.py | ||
test_stream_xep_0030.py | ||
test_stream_xep_0050.py | ||
test_stream_xep_0059.py | ||
test_stream_xep_0060.py | ||
test_stream_xep_0066.py | ||
test_stream_xep_0085.py | ||
test_stream_xep_0092.py | ||
test_stream_xep_0128.py | ||
test_stream_xep_0249.py | ||
test_tostring.py |