Safe Haskell | None |
---|
Network.IRC.ByteString.Parser
- type ServerName = ByteString
- data IRCMsg = IRCMsg {
- msgPrefix :: Maybe (Either UserInfo ServerName)
- msgCmd :: ByteString
- msgParams :: [ByteString]
- msgTrail :: ByteString
- data UserInfo = UserInfo {}
- toIRCMsg :: ByteString -> Result IRCMsg
- fromIRCMsg :: IRCMsg -> ByteString
- ircMsg :: ByteString -> [ByteString] -> ByteString -> IRCMsg
- ircLine :: Parser IRCMsg
Documentation
IRC message types
type ServerName = ByteStringSource
Constructors
IRCMsg | |
Fields
|
Constructors
UserInfo | |
Fields
|
Conversion functions
toIRCMsg :: ByteString -> Result IRCMsgSource
fromIRCMsg :: IRCMsg -> ByteStringSource
ircMsg :: ByteString -> [ByteString] -> ByteString -> IRCMsgSource
Attoparsec parser