Changeset 130:45c3ce4fe4eb for wokkel/disco.py
- Timestamp:
- Jun 9, 2009, 7:33:41 PM (13 years ago)
- Branch:
- wokkel-muc-client-support-24
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wokkel/disco.py
r128 r130 409 409 410 410 411 class DiscoRequest(xmlstream.IQ):412 """413 Disco request.414 415 @ivar namespace: Request namespace.416 @type namespace: C{str}417 @ivar method: Type attribute of the IQ request. Either C{'set'} or C{'get'}418 @type method: C{str}419 """420 421 def __init__(self, xs, namespace=NS, method='get'):422 xmlstream.IQ.__init__(self, xs, method)423 self.addElement((namespace, 'query'))424 425 426 427 411 class DiscoHandler(XMPPHandler, IQHandlerMixin): 428 412 """
Note: See TracChangeset
for help on using the changeset viewer.