mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
17 lines
241 B
Ruby
17 lines
241 B
Ruby
|
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
|
||
|
|