Class Protocols.Line.imap_style
- Description
Nonblocking line-oriented I/O with support for reading literals.
- Inherit
simple
inherit simple : simple
- Variable
handle_line
function
(string
:void
) Protocols.Line.imap_style.handle_line- Description
This function will be called once for every line that is received.
- Note
This API is provided for backward compatibility; overload handle_command() instead.
- See also
- Variable
handle_literal
function
(string
:void
) Protocols.Line.imap_style.handle_literal- Description
If this variable has been set, literal_length bytes will be accumulated, and this function will be called with the resulting data.
- Note
handle_literal() is one-shot, ie it will be cleared when it is called.