Method: Gem::Net::HTTP#proxy_pass

Defined in:
lib/rubygems/vendor/net-http/lib/net/http.rb

#proxy_passObject

Returns the password of the proxy server, if defined, nil otherwise; see Proxy Server.



1911
1912
1913
1914
1915
1916
1917
1918
# File 'lib/rubygems/vendor/net-http/lib/net/http.rb', line 1911

def proxy_pass
  if @proxy_from_env
    pass = proxy_uri&.password
    unescape(pass) if pass
  else
    @proxy_pass
  end
end