irc-conduit

Streaming IRC message library using conduits.

https://github.com/barrucadu/irc-conduit

Version on this page:0.3.0.5
LTS Haskell 19.33:0.3.0.5
Stackage Nightly 2022-03-17:0.3.0.5
Latest on Hackage:0.3.0.6

See all snapshots irc-conduit appears in

MIT licensed by Michael Walker
Maintained by [email protected]
This version can be pinned in stack with:irc-conduit-0.3.0.5@sha256:39f31b42308083a2d7d9c0807fccda4f956c5767ead8592350f2fd7986018019,4097

Module documentation for 0.3.0.5

IRC messages consist of an optional identifying prefix, a command name, and a list of arguments. The irc package provides a low-level decoding and encoding scheme for messages in terms of ByteStrings, but using this relies on matching names of commands as strings, and unpacking this decoded structure yourself. This package takes it a little further, providing an ADT for IRC messages and sources, and conduits which attempt to decode and encode messages appropriately.

In addition to providing conduits for automatically handling streaming messages, there are also helper functions for connecting to an IRC server and hooking up conduits to the socket.