Returns the new Hash suitable for pattern matching containing only the keys specified as an argument.
Creates a Regexp
to match an address.
Creates a DRb::DRbObject
given the reference information to the remote host uri
and object ref
.
Routes respond_to? to the referenced remote object.
Creates a DRb::DRbObject
given the reference information to the remote host uri
and object ref
.
Routes respond_to? to the referenced remote object.
Like Net::HTTP.get
, but returns a Net::HTTPResponse
object instead of the body string.
Returns integer 80
, the default port to use for HTTP requests:
Net::HTTP.default_port # => 80
Returns the X509 certificate chain (an array of strings) for the session’s socket peer, or nil
if none.
Returns the port number of the proxy server, if defined, nil
otherwise; see Proxy Server.
Returns the password of the proxy server, if defined, nil
otherwise; see Proxy Server.
utils
true if the response has a body.
Private setter for the path of the URI::FTP
.
Main name of the switch.