The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Convos::Core::Connection::Irc - IRC connection for Convos

DESCRIPTION

Convos::Core::Connection::Irc is a connection class for Convos which allow you to communicate over the IRC protocol.

ATTRIBUTES

Convos::Core::Connection::Irc inherits all attributes from Convos::Core::Connection and implements the following new ones.

METHODS

Convos::Core::Connection::Irc inherits all methods from Convos::Core::Connection and implements the following new ones.

connect

See "connect" in Convos::Core::Connection.

disconnect

See "disconnect" in Convos::Core::Connection.

nick

  $self = $self->nick($nick => sub { my ($self, $err) = @_; });
  $self = $self->nick(sub { my ($self, $err, $nick) = @_; });
  $nick = $self->nick;

Used to set or get the nick for this connection. Setting this nick will change "nick" and try to change the nick on server if connected. Getting this nick will retrieve the active nick on server if connected and fall back to returning "nick".

participants

See "participants" in Convos::Core::Connection.

rooms

See "rooms" in Convos::Core::Connection.

send

See "send" in Convos::Core::Connection.

AUTHOR

Jan Henning Thorsen - jhthorsen@cpan.org