python - Does Wokkel (XMPP Library) support following features? -
i want develop xmpp protocol implement rpc communication following features. 1.security authentication between client , server.
2.support null values(send null values server)
3.can able send arbitrary values(xml-rpc support 32 bits)
4.can send method arguments custom.(for eg sum(default,4,default) default values chosen server )
5.return error if, should arbitrary object
i know whether wokkel library support these features or know other libraries support these features.(eg:sleekxmpp or xmpppy)
this question seems have 2 parts:
1) there existing xmpp extension protocol supports listed feature?
2) wokkel (or possibly other python xmpp libraries) support this?
the xmpp extention protocols generic rpc behaviour xep-0009 (jabber-rpc) , xep-0050 (commands).
xep-0009 uses xml-rpc payloads sent on xmpp. mention xml-rpc doesn't fit use case.
xep-0050 uses xep-0004 data forms perform predefined command exchanges server. don't think fits requirements #2, #3, or #4, unfortunately.
wokkel has support neither, both implemented relatively on top of existing code.
for completeness, requirement #1 (secure authentication between client , server) should satisfied using xmpp transport, regardless of actual rpc (sub)protocol. might require authentication on top of that, that's pretty application specific.
requirement #5 seems incomplete in wording, xmpp supports application specific error conditions error stanzas. xep-0060 (publish-subscribe) uses extensively. example in payload big error.
wokkel have support application-specific error conditions.
Comments
Post a Comment