class Net::IMAP::UnparsedData
Note: This represents an intentionally unstable API. Where instances of this class are returned, future releases may return a different (incompatible) object without deprecation or warning.
Net::IMAP::UnparsedData represents data for unknown response types or unknown extensions to response types without a well-defined extension grammar. UnparsedData represents the portion of the response which the parser has skipped over, without attempting to parse it.
parser = Net::IMAP::ResponseParser.new response = parser.parse "* X-UNKNOWN-TYPE can't parse this\r\n" response => Net::IMAP::UntaggedResponse( name: "X-UNKNOWN-TYPE", data: Net::IMAP::UnparsedData(unparsed_data: "can't parse this"), )
See also: UnparsedNumericResponseData, ExtensionData, IgnoredResponse, InvalidParseData.