,sFeatures::!ServerFeatures-- ^ Features the server
-- advertised
,sConnectionState::!XmppConnectionState-- ^ State of connection
,sHostname::!(MaybeText)-- ^ Hostname of the server
,sJid::!(MaybeJid)-- ^ Our JID
,sCloseConnection::!(IO())-- ^ necessary steps to cleanly
-- close the connection (send TLS
-- bye etc.)
,sPreferredLang::!(MaybeLangTag)-- ^ Default language when
-- no explicit language
-- tag is set
,sStreamLang::!(MaybeLangTag)-- ^ Will be a `Just' value
-- once connected to the
-- server.
,sStreamId::!(MaybeText)-- Stream ID as specified by
,sStreamId::!(MaybeText)-- ^ Stream ID as specified by
-- the server.
,sToJid::!(MaybeJid)-- JID to include in the
,sToJid::!(MaybeJid)-- ^ JID to include in the
-- stream element's `to'
-- attribute when the
-- connection is secured. See
-- also below.
,sJidWhenPlain::!Bool-- Whether or not to also include the
,sJidWhenPlain::!Bool-- ^ Whether or not to also include the
-- Jid when the connection is plain.
,sFrom::!(MaybeJid)-- From as specified by the
,sFrom::!(MaybeJid)-- ^ From as specified by the
-- server in the stream
-- element's `from'
-- attribute.
@ -780,4 +787,4 @@ newtype XmppT m a = XmppT { runXmppT :: StateT XmppConnection m a } deriving (Mo
@@ -780,4 +787,4 @@ newtype XmppT m a = XmppT { runXmppT :: StateT XmppConnection m a } deriving (Mo
typeXmppConMonada=StateTXmppConnectionIOa
-- Make XmppT derive the Monad and MonadIO instances.