Class: Net::IMAP::Namespace

Inherits:
Struct
  • Object
show all
Defined in:
lib/net/imap.rb

Overview

Net::IMAP::Namespace represents a single [RFC-2342] namespace.

Namespace = nil / "(" 1*( "(" string SP  (<"> QUOTED_CHAR <"> /
   nil) *(Namespace_Response_Extension) ")" ) ")"

Namespace_Response_Extension = SP string SP "(" string *(SP string)
   ")"

Fields:

prefix

Returns the namespace prefix string.

delim

Returns nil or the hierarchy delimiter character.

extensions

Returns a hash of extension names to extension flag arrays.