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

Protocol::IMAP - support for the Internet Message Access Protocol as defined in RFC3501.

SYNOPSIS

 use Protocol::IMAP::Server;
 use Protocol::IMAP::Client;

DESCRIPTION

Base class for Protocol::IMAP::Server and Protocol::IMAP::Client implementations.

METHODS

debug

Debug log message. Only displayed if the debug flag was passed to configure.

state

write

Raise an error if we call ->write at top level, just in case someone's trying to use this directly.

_capture_weakself

Helper method to avoid capturing $self in closures, using the same approach and method name as in IO::Async.

AUTHOR

Tom Molesworth <protocol-imap@entitymodel.com>

with thanks to Paul Evans <leonerd@leonerd.co.uk> for the IO::Async framework, which provides the foundation for Net::Async::IMAP.

LICENSE

Licensed under the same terms as Perl itself.