irc-conduit

Streaming IRC message library using conduits.

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

Version on this page:0.2.2.4
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.2.2.4@sha256:14255e15fb38b19dc2ed96aa04a90e1c98128fa1434fb1444d7428170bc08881,4096

Module documentation for 0.2.2.4

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.