Method: Net::HTTP#proxy_address
- Defined in:
- lib/net/http.rb
#proxy_address ⇒ Object Also known as: proxyaddr
The address of the proxy server, if one is configured.
1127 1128 1129 1130 1131 1132 1133 |
# File 'lib/net/http.rb', line 1127 def proxy_address if @proxy_from_env then proxy_uri&.hostname else @proxy_address end end |