Expand description
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 dispatch
method
once it is configured to your needs.
Modules§
- ext
- Utilities that are not part of the official IRC protocol standard.
Structs§
- Channel
- Channel
- Channel
User - User inside a channel.
- Irc
- Contains the connection to the server and the data about channels and users.
- Message
- Represents a message received from the server.
- Monitor
Settings - These settings tell the monitor how to behave.
- Prefix
User - User prefix representation.
- Settings
- Settings for the dispatcher.
Enums§
- Channel
User Status - Status of a user inside a channel.
- Code
- Representation of IRC commands, replies and errors.
- Connection
Status - Status of the connection.
- Error
- Errors that can occur.
- Event
- This is the comprehensive set of events that can occur.
- Loirc
Error - Errors produced by the Writer.
- Parse
Error - Error generated by the parser.
- Prefix
- Prefix of the message.
- Reconnection
Settings - These settings tell the reconnection process how to behave.
Traits§
Functions§
- dispatch
- Create an irc client with the listener and settings.