Method: IPAccess::Net::HTTP.get_response

Defined in:
lib/ipaccess/ghost_doc/ghost_doc_net_http.rb

.get_responseObject

:call-seq:

get_response(uri_or_host, path, port, acl) <tt>{|http| …}</tt>|<br />
get_response(uri_or_host, path, acl) <tt>{|http| …}</tt><br />
get_response(uri_or_host, acl) <tt>{|http| …}</tt><br />
get_response(uri_or_host, path = nil, port = nil) <tt>{|http| …}</tt>

Sends a GET request to the target and return the response as a Net::HTTPResponse object. The target can either be specified as (uri), or as (host, path, port = 80). It optionally sets an access set given as the last parameter. If parameter is not given it sets ACL to IPAccess::Set.Global.



291
292
293
# File 'lib/ipaccess/ghost_doc/ghost_doc_net_http.rb', line 291

def self.get_response
  # Real code hidden.
end