Module pircolate::message
[−]
[src]
The message module contains the Message
struct which represents an
IRC message either being received from the server or sent by the client.
The module also contains several constructor methods for constructing messages to be sent to the server.
Structs
Message |
Representation of IRC messages that splits a message into its constituent parts specified in RFC1459 and the IRCv3 spec. |
Functions
cap_req |
Constructs a message containing an IRCv3 CAP REQ command for the specified capability. |
join |
Constructs a message containing a JOIN command for the specified channel. |
nick |
Constructs a message containing a NICK command with the specified nickname. |
pass |
Constructs a message containing a PASS command with the specified password. |
ping |
Constructs a message containing a PING command targeting the specified host. |
pong |
Constructs a message containing a PONG command targeting the specified host. |
privmsg |
Constructs a message containing a PRIVMSG command sent to the specified targets with the given message. |
user |
Constructs a message containing a USER command with the specified username and real name. |