End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Net::HTTP#proxy_port
proxy_port
lib/net/http.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/net/http.rb, line 1470
def proxy_port
if @proxy_from_env then
proxy_uri&.port
else
@proxy_port
end
end
The port of the proxy server, if one is configured.
See also
#proxy_pass
#proxy_user
#proxy_from_env?
#read_timeout=
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0