Method: Polipus::HTTP#proxy_port
- Defined in:
- lib/polipus/http.rb
#proxy_port ⇒ Object
The proxy port
96 97 98 99 |
# File 'lib/polipus/http.rb', line 96 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 |