Copyright | (c) Dmitry Astapov 2006 ; pierre 2007 |
---|---|
License | BSD3 |
Maintainer | Dmitry Astapov <dastapov@gmail.com> |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Implementation of XMPP Core Protocol (RFC 3920)
Synopsis
- initStream :: MonadIO m => Handle -> Server -> Username -> Password -> Resource -> XmppMonad m (Either XmppError (JID 'NodeResource))
- closeStream :: MonadIO m => XmppMonad m ()
Documentation
:: MonadIO m | |
=> Handle | |
-> Server | Server (hostname) we are connecting to |
-> Username | Username to use |
-> Password | Password to use |
-> Resource | Resource to use |
-> XmppMonad m (Either XmppError (JID 'NodeResource)) |
Open connection to specified server and return Stream
coming from it
closeStream :: MonadIO m => XmppMonad m () Source #