Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Net/HTTP/start-c.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params: +http+
comment:
- !ruby/struct:SM::Flow::P
body: creates a new Net::HTTP object and opens its TCP connection and HTTP session. If the optional block is given, the newly created Net::HTTP object is passed to it and closed when the block finishes. In this case, the return value of this method is the return value of the block. If no block is given, the return value of this method is the newly created Net::HTTP object itself, and the caller is responsible for closing it upon completion.
full_name: Net::HTTP::start
is_singleton: true
name: start
params: (address, port = nil, p_addr = nil, p_port = nil, p_user = nil, p_pass = nil) {|+http+| ...}
visibility: public