Base class of errors that occur when processing GZIP files.
Raised when gzip file footer is not found.
Raised when the CRC checksum recorded in gzip file footer is not equivalent to the CRC checksum of the actual uncompressed data.
Raised when the data length recorded in the gzip file footer is not equivalent to the length of the actual uncompressed data.
See Net::HTTPGenericRequest
for attributes and methods. See Net::HTTP
for usage examples.
See Net::HTTPGenericRequest
for attributes and methods.
See Net::HTTPGenericRequest
for attributes and methods.
Net::IMAP::BodyTypeMessage
represents MESSAGE/RFC822 body structures of messages.
Returns a Net::IMAP::Envelope giving the envelope structure.
Returns an object giving the body structure.
And Net::IMAP::BodyTypeMessage
has all methods of Net::IMAP::BodyTypeText
.
Authenticator for the “DIGEST-MD5” authentication type. See authenticate().
Superclass of IMAP
errors.
Error
raised when data is in the incorrect format.
Error
raised when a response from the server is non-parseable.
Superclass of all errors used to encapsulate “fail” responses from the server.
Error
raised upon a “NO” response from the server, indicating that the client command could not be completed successfully.
Error
raised upon a “BAD” response from the server, indicating that the client command violated the IMAP
protocol, or an internal server failure has occurred.
Error
raised when too many flags are interned to symbols.
Indicates that the DNS
response was unable to be decoded.
Indicates that the DNS
request was unable to be encoded.
A DNS
query abstract class.
This API is experimental, and subject to change.
parser = PullParser.new( "<a>text<b att='val'/>txet</a>" ) while parser.has_next? res = parser.next puts res[1]['att'] if res.start_tag? and res[0] == 'b' end
See the PullEvent
class for information on the content of the results. The data is identical to the arguments passed for the various events to the StreamListener
API.
Notice that:
parser = PullParser.new( "<a>BAD DOCUMENT" ) while parser.has_next? res = parser.next raise res[1] if res.error? end
Nat Price gave me some good ideas for the API.