Safe Haskell | None |
---|
- data Mpi
- type Feature = XmlNode
- data Jid = Jid ByteString ByteString (Maybe ByteString)
- data Tags = Tags {}
- tagsType :: ByteString -> Tags
- class SaslState xs => XmppState xs where
- getXmppState :: xs -> (Jid, [ByteString])
- putXmppState :: (Jid, [ByteString]) -> xs -> xs
- data Retrieve m
- = RTPlain (ByteString -> ByteString -> ByteString -> m ())
- | RTExternal (ByteString -> m ())
- | RTDigestMd5 (ByteString -> m ByteString)
- | RTScramSha1 (ByteString -> m (ByteString, ByteString, ByteString, Int))
- starttls :: (MonadState m, [ByteString] ~ StateType m) => ByteString -> Pipe ByteString ByteString m ()
- sasl :: (MonadState m, XmppState (StateType m), MonadError m, SaslError (ErrorType m)) => ByteString -> [Retrieve m] -> Pipe ByteString ByteString m ()
- bind :: (MonadState m, XmppState (StateType m), MonadError m, SaslError (ErrorType m)) => ByteString -> [Feature] -> Pipe ByteString ByteString m [Xmlns]
- input :: Monad m => [Xmlns] -> Pipe ByteString Mpi m ()
- output :: Monad m => Pipe Mpi ByteString m ()
Types and Values
class SaslState xs => XmppState xs whereSource
getXmppState :: xs -> (Jid, [ByteString])Source
putXmppState :: (Jid, [ByteString]) -> xs -> xsSource
RTPlain (ByteString -> ByteString -> ByteString -> m ()) | |
RTExternal (ByteString -> m ()) | |
RTDigestMd5 (ByteString -> m ByteString) | |
RTScramSha1 (ByteString -> m (ByteString, ByteString, ByteString, Int)) |
Functions
starttls :: (MonadState m, [ByteString] ~ StateType m) => ByteString -> Pipe ByteString ByteString m ()Source
sasl :: (MonadState m, XmppState (StateType m), MonadError m, SaslError (ErrorType m)) => ByteString -> [Retrieve m] -> Pipe ByteString ByteString m ()Source