D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Net
/
HTTP
/
Filename :
send_request-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends an HTTP request to the HTTP server. This method also sends DATA string if DATA is given. - !ruby/struct:SM::Flow::P body: Returns a HTTPResponse object. - !ruby/struct:SM::Flow::P body: This method never raises Net::* exceptions. - !ruby/struct:SM::Flow::VERB body: " response = http.send_request('GET', '/index.html')\n puts response.body\n" full_name: Net::HTTP#send_request is_singleton: false name: send_request params: (name, path, data = nil, header = nil) visibility: public