Error raised when an error occurs on the underlying communication protocol.
Raised when the provided IP address is an invalid address.
HTTP response class.
This class wraps together the response header and the response body (the entity requested).
It mixes in the HTTPHeader module, which provides access to response header values both via hash-like methods and via individual readers.
Note that each possible HTTP response code defines its own HTTPResponse
subclass. All classes are defined under the Net
module. Indentation indicates inheritance. For a list of the classes see Net::HTTP
.
Correspondence HTTP code => class
is stored in CODE_TO_OBJ
constant:
Net::HTTPResponse::CODE_TO_OBJ['404'] #=> Net::HTTPNotFound
OpenTimeout
, a subclass of Timeout::Error
, is raised if a connection cannot be created within the open_timeout.
The writer adapter class
An SimpleRenewer
allows a TupleSpace
to check if a TupleEntry
is still alive.