Returns the new Hash suitable for pattern matching containing only the keys specified as an argument.
Creates a Regexp
to match an address.
Routes respond_to? to the referenced remote object.
Has a method been included in the list of insecure methods?
The main loop performed by a DRbServer’s internal thread.
Accepts a connection from a client, and starts up its own thread to handle it. This thread loops, receiving requests from the client, invoking them on a local object, and returning responses, until the client closes the connection or a local method call fails.
Routes respond_to? to the referenced remote object.
Setter for the read_timeout
attribute.
Setter for the write_timeout
attribute.
Returns true if SSL/TLS is being used with HTTP
.
Turn on/off SSL. This flag must be set before starting session. If you change use_ssl value after session started, a Net::HTTP
object raises IOError
.
The password of the proxy server, if one is configured.
Sends an HTTP
request to the HTTP
server. Also sends a DATA string if data
is given.
Returns a Net::HTTPResponse
object.
This method never raises Net::* exceptions.
response = http.send_request('GET', '/index.html') puts response.body