123456789_123456789_123456789_123456789_123456789_

Class: Net::IMAP::UntaggedResponse

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Struct
Instance Chain:
self, Struct
Inherits: Struct
  • Object
Defined in: lib/net/imap.rb

Overview

UntaggedResponse represents untagged responses.

Data transmitted by the server to the client and status responses that do not indicate command completion are prefixed with the token “*”, and are called untagged responses.

response_data   ::= "*" SPACE (resp_cond_state / resp_cond_bye /
                    mailbox_data / message_data / capability_data)

Fields:

name

Returns the name, such as “FLAGS”, “LIST”, or “FETCH”.

data

Returns the data such as an array of flag symbols, a ((<Net::IMAP::MailboxList>)) object.

raw_data

Returns the raw data string.

Instance Attribute Summary

  • #data rw

    UntaggedResponse represents untagged responses.

  • #name rw

    UntaggedResponse represents untagged responses.

  • #raw_data rw

    UntaggedResponse represents untagged responses.

Instance Attribute Details

#data (rw)

UntaggedResponse represents untagged responses.

Data transmitted by the server to the client and status responses that do not indicate command completion are prefixed with the token “*”, and are called untagged responses.

response_data   ::= "*" SPACE (resp_cond_state / resp_cond_bye /
                    mailbox_data / message_data / capability_data)

Fields:

name

Returns the name, such as “FLAGS”, “LIST”, or “FETCH”.

data

Returns the data such as an array of flag symbols, a ((<Net::IMAP::MailboxList>)) object.

raw_data

Returns the raw data string.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 1661

UntaggedResponse = Struct.new(:name, :data, :raw_data)

#name (rw)

UntaggedResponse represents untagged responses.

Data transmitted by the server to the client and status responses that do not indicate command completion are prefixed with the token “*”, and are called untagged responses.

response_data   ::= "*" SPACE (resp_cond_state / resp_cond_bye /
                    mailbox_data / message_data / capability_data)

Fields:

name

Returns the name, such as “FLAGS”, “LIST”, or “FETCH”.

data

Returns the data such as an array of flag symbols, a ((<Net::IMAP::MailboxList>)) object.

raw_data

Returns the raw data string.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 1661

UntaggedResponse = Struct.new(:name, :data, :raw_data)

#raw_data (rw)

UntaggedResponse represents untagged responses.

Data transmitted by the server to the client and status responses that do not indicate command completion are prefixed with the token “*”, and are called untagged responses.

response_data   ::= "*" SPACE (resp_cond_state / resp_cond_bye /
                    mailbox_data / message_data / capability_data)

Fields:

name

Returns the name, such as “FLAGS”, “LIST”, or “FETCH”.

data

Returns the data such as an array of flag symbols, a ((<Net::IMAP::MailboxList>)) object.

raw_data

Returns the raw data string.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 1661

UntaggedResponse = Struct.new(:name, :data, :raw_data)