class Net::IMAP::ResponseText
ResponseText represents texts of responses.
The text may be prefixed by a ResponseCode.
ResponseText is returned from TaggedResponse#data or UntaggedResponse#data for “status responses”:
-
every
TaggedResponse, name is always “OK”, “NO”, or “BAD”. -
any
UntaggedResponsewhen name is “OK”, “NO”, “BAD”, “PREAUTH”, or “BYE”.
Note that these “status responses” are confusingly not the same as the STATUS UntaggedResponse (see IMAP#status and StatusData).
Constants
- EMPTY
-
Used to avoid an allocation when
ResponseTextis empty