summaryrefslogtreecommitdiff
path: root/jni/ruby/lib/net/http/proxy_delta.rb
blob: b16c9f1ed8d999a359d5b37fbc92e577393d30c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module Net::HTTP::ProxyDelta   #:nodoc: internal use only
  private

  def conn_address
    proxy_address()
  end

  def conn_port
    proxy_port()
  end

  def edit_path(path)
    use_ssl? ? path : "http://#{addr_port()}#{path}"
  end
end