Results for: "Logger"

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Returns true if this is a header row, false otherwise.

No documentation available

Stop this server.

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.

No documentation available
No documentation available

Returns the eigenvector matrix V

Returns the block diagonal eigenvalue matrix D

No documentation available

Returns true if net/http is in version 1.2 mode. Defaults to true.

Gets the body text from the target and outputs it to $stdout. The target can either be specified as (uri, headers), or as (host, path, port = 80); so:

Net::HTTP.get_print URI('http://www.example.com/index.html')

or:

Net::HTTP.get_print 'www.example.com', '/index.html'

you can also specify request headers:

Net::HTTP.get_print URI('http://www.example.com/index.html'), { 'Accept' => 'text/html' }

Sends a GET request to the target and returns the HTTP response as a Net::HTTPResponse object. The target can either be specified as (uri, headers), or as (host, path, port = 80); so:

res = Net::HTTP.get_response(URI('http://www.example.com/index.html'))
print res.body

or:

res = Net::HTTP.get_response('www.example.com', '/index.html')
print res.body

you can also specify request headers:

Net::HTTP.get_response(URI('http://www.example.com/index.html'), { 'Accept' => 'text/html' })

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

Sends a GET request to the path. Returns the response as a Net::HTTPResponse object.

When called with a block, passes an HTTPResponse object to the block. The body of the response will not have been read yet; the block can process it using HTTPResponse#read_body, if desired.

Returns the response.

This method never raises Net::* exceptions.

response = http.request_get('/index.html')
# The entity body is already read in this case.
p response['content-type']
puts response.body

# Using a block
http.request_get('/index.html') {|response|
  p response['content-type']
  response.read_body do |str|   # read body now
    print str
  end
}
No documentation available
No documentation available

true if the response has a body.

No documentation available
Search took: 4ms  ·  Total Results: 2079