Method: Gem::Net::HTTP::Persistent#start
- Defined in:
- lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb
#start(http) ⇒ Object
Starts the Gem::Net::HTTP connection
681 682 683 684 685 686 687 688 689 690 691 692 693 694 |
# File 'lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb', line 681 def start http http.set_debug_output @debug_output if @debug_output http.open_timeout = @open_timeout if @open_timeout http.start socket = http.instance_variable_get :@socket if socket then # for fakeweb @socket_options.each do |option| socket.io.setsockopt(*option) end end end |