Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

Net::HTTP#proxy_port

proxy_port

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

See also #proxy_pass #proxy_user #proxy_from_env? #put also in 4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0