hiirc is a library built on top of loirc. The goal
is to offer a friendly, event-based API.
To use the library, implement the
Listener trait and give an instance of your implementation
to the dispatch function, accompanied with an instance of the
Settings struct configured to
your needs. You can also use the
Settings struct as a builder, calling the
once it is configured to your needs.
Utilities that are not part of the official IRC protocol standard.
User inside a channel.
Contains the connection to the server and the data about channels and users.
Represents a message received from the server.
These settings tell the monitor how to behave.
User prefix representation.
Settings for the dispatcher.
Status of a user inside a channel.
Representation of IRC commands, replies and errors.
Status of the connection.
Errors that can occur.
This is the comprehensive set of events that can occur.
Errors produced by the Writer.
Error generated by the parser.
Prefix of the message.
These settings tell the reconnection process how to behave.
Ability to send commands to the irc server.
Implement this trait to handle events.
Create an irc client with the listener and settings.