new(address, port = nil, p_addr = nil, p_port = nil, p_user = nil, p_pass = nil) public

Creates a new Net::HTTP object without opening a TCP connection or HTTP session. The address should be a DNS hostname or IP address. If p_addr is given, creates a Net::HTTP object with proxy support.

Show source
Register or log in to add new notes.