Results for: "Logger"

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.

No documentation available
No documentation available

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.

Fields:

envelope

Returns a Net::IMAP::Envelope giving the envelope structure.

body

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.

No documentation available

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.

No documentation available

Using the Pull Parser

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.

No documentation available
Search took: 1ms  ·  Total Results: 2200