Module: Net::IMAP::ResponseParser::ResponseConditions

Included in:
Net::IMAP::ResponseParser
Defined in:
lib/net/imap/response_parser.rb

Overview

end of response string

Constant Summary collapse

OK =
"OK"
NO =
"NO"
BAD =
"BAD"
BYE =
"BYE"
PREAUTH =
"PREAUTH"
RESP_COND_STATES =
[OK, NO, BAD              ].freeze
RESP_DATA_CONDS =
[OK, NO, BAD, BYE,        ].freeze
AUTH_CONDS =
[OK,               PREAUTH].freeze
GREETING_CONDS =
[OK,          BYE, PREAUTH].freeze
RESP_CONDS =
[OK, NO, BAD, BYE, PREAUTH].freeze