Copyright | (c) pierre, 2007 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | k.pierre.k@gmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
Network.XMPP.Stanza
Description
XMPP stanzas parsing
- parse :: XmppMessage -> Stanza
- parseM :: XmppStateT Stanza
- outStanza :: Stanza -> XmppStateT ()
Documentation
parse :: XmppMessage -> Stanza
Parses XML element producing Stanza
Gets next message from stream and parses it
outStanza :: Stanza -> XmppStateT ()
Converts stanza to XML and outputs it