xmpipe-0.0.0.4: XMPP implementation using simple-PIPE

Safe HaskellNone

Network.XMPiPe.Core.C2S.Client

Contents

Synopsis

Types and Values

data Mpi Source

Instances

Eq Mpi 
Show Mpi 

data Jid Source

Constructors

Jid ByteString ByteString (Maybe ByteString) 

Instances

Eq Jid 
Show Jid 

toJid :: ByteString -> JidSource

fromJid :: Jid -> ByteStringSource

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

Functions

starttls :: Monad m => ByteString -> Pipe ByteString ByteString m ()Source

sasl :: (MonadState m, SaslState (StateType m), MonadError m, Error (ErrorType m)) => ByteString -> [ByteString] -> Pipe ByteString ByteString m ()Source

bind :: (Monad m, MonadWriter m, [Feature] ~ WriterType m, MonadError m, Error (ErrorType m)) => ByteString -> ByteString -> Pipe ByteString ByteString m [Xmlns]Source

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

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