Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Net::HTTP.proxy_class?
proxy_class?
lib/net/http.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/net/http.rb, line 1762
def proxy_class?
defined?(@is_proxy_class) ? @is_proxy_class : false
end
Returns true if self is a class which was created by HTTP::Proxy.