xmpipe-0.0.0.4: XMPP implementation using simple-PIPE

Safe HaskellNone

Network.XMPiPe.Core.S2S.Server

Contents

Synopsis

Types and Values

data Mpi Source

Instances

Eq Mpi 
Show Mpi 

data XmppState Source

Constructors

XmppState 

Fields

xsDomainName :: Maybe ByteString
 
xsUuid :: [ByteString]
 

Instances

data Tags Source

Constructors

Tags 

Fields

tagId :: Maybe ByteString
 
tagType :: Maybe ByteString
 
tagFrom :: Maybe Jid
 
tagTo :: Maybe Jid
 
tagLang :: Maybe ByteString
 
tagOthers :: [(QName, ByteString)]
 

Instances

Eq Tags 
Show Tags 

tagsType :: ByteString -> TagsSource

class SaslState s

Instances

class Error e => SaslError e

Instances

SaslError IOError 

Functions

starttls :: (MonadState m, XmppState ~ StateType m) => Pipe ByteString ByteString m ()Source

sasl :: (MonadState m, StateType m ~ XmppState, MonadError m, SaslError (ErrorType m)) => (ByteString -> Bool) -> Pipe ByteString ByteString m ()Source

begin :: (MonadState m, StateType m ~ XmppState) => Pipe ByteString ByteString m [Xmlns]Source

input :: Monad m => [Xmlns] -> Pipe ByteString Mpi m ()Source

output :: Monad m => Pipe Mpi ByteString m ()Source