MCPcopy Create free account
hub / github.com/apache/arrow / start_http

Method start_http

dev/release/binary-task.rb:274–283  ·  view source on GitHub ↗
(url, &block)

Source from the content-addressed store, hash-verified

272 end
273
274 private def start_http(url, &block)
275 http = Net::HTTP.new(url.host, url.port)
276 http.set_debug_output($stderr) if ENV["DEBUG"]
277 http.use_ssl = true
278 if block_given?
279 http.start(&block)
280 else
281 http
282 end
283 end
284
285 def close
286 return if @http.nil?

Callers

nothing calls this directly

Calls 4

hostMethod · 0.80
newMethod · 0.45
portMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected