You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1020 B
40 lines
1020 B
|
13 years ago
|
-- |
|
||
|
|
-- Module: $Header$
|
||
|
|
--
|
||
|
|
-- Maintainer: info@jonkri.com
|
||
|
|
-- Stability: unstable
|
||
|
|
-- Portability: portable
|
||
|
|
--
|
||
|
|
-- This module allows for low-level access to Pontarius XMPP. Generally, the
|
||
|
|
-- "Network.Xmpp" module should be used instead.
|
||
|
|
--
|
||
|
|
-- The 'Connection' object provides the most low-level access to the XMPP
|
||
|
|
-- stream: a simple and single-threaded interface which exposes the conduit
|
||
|
|
-- 'Event' source, as well as the input and output byte streams. Custom stateful
|
||
|
|
-- 'Connection' functions can be executed using 'withConnection'.
|
||
|
|
--
|
||
|
|
-- The TLS, SASL, and 'Session' functionalities of Pontarius XMPP are built on
|
||
|
|
-- top of this API.
|
||
|
|
|
||
|
|
module Network.Xmpp.Internal
|
||
|
|
( Connection(..)
|
||
|
|
, ConnectionState(..)
|
||
|
|
, ConnectionHandle(..)
|
||
|
|
, ServerFeatures(..)
|
||
|
|
, connect
|
||
|
|
, withConnection
|
||
|
|
, startTls
|
||
|
|
, simpleAuth
|
||
|
|
, auth
|
||
|
|
, pushStanza
|
||
|
|
, pullStanza
|
||
|
|
)
|
||
|
|
|
||
|
|
where
|
||
|
|
|
||
|
|
import Network.Xmpp.Connection
|
||
|
|
import Network.Xmpp.Sasl
|
||
|
|
import Network.Xmpp.Tls
|
||
|
|
import Network.Xmpp.Types
|
||
|
|
import Network.Xmpp.Stream
|