Bug #4714 ยป 0001-Move-documentation-for-proxy_-to-the-class-s-attr_re.patch
lib/net/http.rb | ||
---|---|---|
@is_proxy_class
|
||
end
|
||
# Address of proxy host. If self does not use a proxy, nil.
|
||
attr_reader :proxy_address
|
||
# Port number of proxy host. If self does not use a proxy, nil.
|
||
attr_reader :proxy_port
|
||
# User name for accessing proxy. If self does not use a proxy, nil.
|
||
attr_reader :proxy_user
|
||
# User password for accessing proxy. If self does not use a proxy, nil.
|
||
attr_reader :proxy_pass
|
||
end
|
||
... | ... | |
self.class.proxy_class?
|
||
end
|
||
# Address of proxy host. If self does not use a proxy, nil.
|
||
# A convenience method for accessing value of proxy_address in self.class.
|
||
def proxy_address
|
||
self.class.proxy_address
|
||
end
|
||
# Port number of proxy host. If self does not use a proxy, nil.
|
||
# A convenience method for accessing value of proxy_port in self.class.
|
||
def proxy_port
|
||
self.class.proxy_port
|
||
end
|
||
# User name for accessing proxy. If self does not use a proxy, nil.
|
||
# A convenience method for accessing value of proxy_user in self.class.
|
||
def proxy_user
|
||
self.class.proxy_user
|
||
end
|
||
# User password for accessing proxy. If self does not use a proxy, nil.
|
||
# A convenience method for accessing value of proxy_pass in self.class.
|
||
def proxy_pass
|
||
self.class.proxy_pass
|
||
end
|