| Copyright | (c) pierre 2007 |
|---|---|
| License | BSD3 |
| Maintainer | k.pierre.k@gmail.com |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.XMPP.Stanza
Description
XMPP stanzas parsing
Documentation
class StanzaEncoder t p e a where Source #
Methods
encodeStanza :: Stanza t p e -> a Source #
Instances
| StanzaEncoder t 'Outgoing e Node Source # | |
Defined in Network.XMPP.Stanza | |
| StanzaEncoder 'Message 'Outgoing e Node Source # | |
Defined in Network.XMPP.Stanza | |
| StanzaEncoder 'Presence 'Outgoing e Node Source # | |
Defined in Network.XMPP.Stanza | |
| StanzaEncoder 'IQ 'Outgoing e Node Source # | |
Defined in Network.XMPP.Stanza | |
class StanzaDecoder t p e a where Source #
Methods
decodeStanza :: a -> Maybe (Stanza t p e) Source #
Instances
| FromXML e => StanzaDecoder 'Message 'Incoming e (Content Posn) Source # | |
Defined in Network.XMPP.Stanza | |
| FromXML e => StanzaDecoder 'Presence 'Incoming e (Content Posn) Source # | |
Defined in Network.XMPP.Stanza | |
| FromXML e => StanzaDecoder 'IQ 'Incoming e (Content Posn) Source # | |
Defined in Network.XMPP.Stanza | |