📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 08:09:51
📂
/ (Root)
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
Net
/
HTTP
📍 /opt/alt/ruby33/share/ri/system/Net/HTTP
🔄 Refresh
✏️
Editing: send_request-i.ri
Read Only
U:RDoc::AnyMethod[iI"send_request:ETI"Net::HTTP#send_request;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"+Sends an \HTTP request to the server; ;TI"<returns an instance of a subclass of Net::HTTPResponse.;To:RDoc::Markup::BlankLine o; ; [ I"9The request is based on the Net::HTTPRequest object ;TI"Screated from string +path+, string +data+, and initial headers hash +header+. ;TI"'That object is an instance of the ;TI"S{subclass of Net::HTTPRequest}[rdoc-ref:Net::HTTPRequest@Request+Subclasses], ;TI"<that corresponds to the given uppercase string +name+, ;TI"which must be ;TI"Ran {HTTP request method}[https://en.wikipedia.org/wiki/HTTP#Request_methods] ;TI"Wor a {WebDAV request method}[https://en.wikipedia.org/wiki/WebDAV#Implementation].;T@o; ; [I"Examples:;T@o:RDoc::Markup::Verbatim; [ I"$http = Net::HTTP.new(hostname) ;TI"*http.send_request('GET', '/todos/1') ;TI".# => #<Net::HTTPOK 200 OK readbody=true> ;TI"2http.send_request('POST', '/todos', 'xyzzy') ;TI"7# => #<Net::HTTPCreated 201 Created readbody=true>;T:@format0: @fileI"lib/net/http.rb;T:0@omit_headings_from_table_of_contents_below000[ I"+(name, path, data = nil, header = nil);T@$FI" HTTP;TcRDoc::NormalClass00
💾 Save Changes
❌ Cancel