Generic XMPP protocol helpers.

Function parseXml Parse serialized XML into a DOM structure.
Function stripNamespace Undocumented
Class FallbackHandler XMPP subprotocol handler that catches unhandled iq requests.
Class VersionHandler XMPP subprotocol handler for XMPP Software Version.
Class XmlPipe XML stream pipe.
Class Stanza Abstract representation of a stanza.
Class ErrorStanza Undocumented
Class Request IQ request stanza.
Class DeferredXmlStreamFactory No class docstring; 1/3 methods documented
Function prepareIDNName Encode a unicode IDN Domain Name into its ACE equivalent.
def parseXml(string): (source)

Parse serialized XML into a DOM structure.

ParametersstringThe serialized XML to be parsed, UTF-8 encoded. (type: str.)
ReturnsThe DOM structure, or None on empty or incomplete input. (type: domish.Element)
def stripNamespace(rootElement): (source)
Undocumented
def prepareIDNName(name): (source)

Encode a unicode IDN Domain Name into its ACE equivalent.

This will encode the domain labels, separated by allowed dot code points, to their ASCII Compatible Encoding (ACE) equivalent, using punycode. The result is an ASCII byte string of the encoded labels, separated by the standard full stop.

API Documentation for wokkel, generated by pydoctor at 2018-12-06 14:45:46.