Method: Polipus::HTTP#proxy_port
- Defined in:
- lib/polipus/http.rb
#proxy_port ⇒ Object
The proxy port
85 86 87 88 |
# File 'lib/polipus/http.rb', line 85 def proxy_port return proxy_host_port.last unless @opts[:proxy_host_port].nil? @opts[:proxy_port].respond_to?(:call) ? @opts[:proxy_port].call(self) : @opts[:proxy_port] end |