Method: Polipus::HTTP#proxy_host

Defined in:
lib/polipus/http.rb

#proxy_hostObject

The proxy address string



88
89
90
91
# File 'lib/polipus/http.rb', line 88

def proxy_host
  return proxy_host_port.first unless @opts[:proxy_host_port].nil?
  @opts[:proxy_host].respond_to?(:call) ? @opts[:proxy_host].call(self) : @opts[:proxy_host]
end