Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Net
/
HTTP
/
//opt/alt/ruby27/share/ri/system/Net/HTTP/get-c.ri
U:RDoc::AnyMethod[iI"get:ETI"Net::HTTP::get;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"ESends a GET request to the target and returns the HTTP response ;TI"9as a string. The target can either be specified as ;TI"6(+uri+), or as (+host+, +path+, +port+ = 80); so:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"Cprint Net::HTTP.get(URI('http://www.example.com/index.html')) ;T:@format0o; ; [I"or:;T@o;; [I":print Net::HTTP.get('www.example.com', '/index.html');T; 0: @fileI"lib/net/http.rb;T:0@omit_headings_from_table_of_contents_below000[ I"*(uri_or_host, path = nil, port = nil);T@FI" HTTP;TcRDoc::NormalClass00