File: C:/Ruby27-x64/share/ri/2.7.0/system/Net/HTTP/new-c.ri
U:RDoc::AnyMethod[iI"new:ETI"Net::HTTP::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"HCreates a new Net::HTTP object without opening a TCP connection or ;TI"HTTP session.;To:RDoc::Markup::BlankLine o;
; [I"MThe +address+ should be a DNS hostname or IP address, the +port+ is the ;TI"Nport the server operates on. If no +port+ is given the default port for ;TI"HTTP or HTTPS is used.;T@o;
; [I"JIf none of the +p_+ arguments are given, the proxy host and port are ;TI"Htaken from the +http_proxy+ environment variable (or its uppercase ;TI"Lequivalent) if present. If the proxy requires authentication you must ;TI"Jsupply it by hand. See URI::Generic#find_proxy for details of proxy ;TI"Ndetection from the environment. To disable proxy detection set +p_addr+ ;TI"to nil.;T@o;
; [
I"NIf you are connecting to a custom proxy, +p_addr+ specifies the DNS name ;TI"Mor IP address of the proxy host, +p_port+ the port to use to access the ;TI"Mproxy, +p_user+ and +p_pass+ the username and password if authorization ;TI"Eis required to use the proxy, and p_no_proxy hosts which do not ;TI"use the proxy.;T:
@fileI"lib/net/http.rb;T:0@omit_headings_from_table_of_contents_below000[[I"newobj;To;; [ ;@$;
0I"e(address, port = nil, p_addr = :ENV, p_port = nil, p_user = nil, p_pass = nil, p_no_proxy = nil);T@$TI" HTTP;TcRDoc::NormalClass00