Results for: "OptionParser"

No documentation available

Creates a Regexp to match an address.

Routes respond_to? to the referenced remote object.

No documentation available

Has a method been included in the list of insecure methods?

No documentation available

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.

Example:

Foo::Bar
   ^^^^^
No documentation available
No documentation available
No documentation available

Sets the read timeout, in seconds, for self to integer sec; the initial value is 60.

Argument sec must be a non-negative numeric value:

http = Net::HTTP.new(hostname)
http.read_timeout # => 60
http.get('/todos/1') # => #<Net::HTTPOK 200 OK readbody=true>
http.read_timeout = 0
http.get('/todos/1') # Raises Net::ReadTimeout.

Sets the write timeout, in seconds, for self to integer sec; the initial value is 60.

Argument sec must be a non-negative numeric value.

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.

No documentation available

The password of the proxy server, if one is configured.

No documentation available

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
No documentation available
No documentation available

true if the response has a body.

Private setter for the typecode v.

See also URI::FTP.typecode=.

No documentation available
Search took: 6ms  ·  Total Results: 3967