Boilerplate for Stanzas - request and response

This commit is contained in:
Sangeeth Saravanaraj
2015-01-27 15:13:57 +05:30
parent be76dda21d
commit 0fe057b5c3
4 changed files with 45 additions and 9 deletions

View File

@@ -0,0 +1,21 @@
"""
SleekXMPP: The Sleek XMPP Library
Implementation of HTTP over XMPP transport
http://xmpp.org/extensions/xep-0332.html
Copyright (C) 2015 Riptide IO, sangeeth@riptideio.com
This file is part of SleekXMPP.
See the file LICENSE for copying permission.
"""
from sleekxmpp import Iq
from sleekxmpp.xmlstream import ElementBase, register_stanza_plugin
from sleekxmpp.plugins.xep_0131.stanza import Headers
class Response(ElementBase):
pass
register_stanza_plugin(Iq, Response)
register_stanza_plugin(Response, Headers)