Module Raggle::Proxy
In: raggle  (CVS)

Proxy-related methods for Raggle.

Methods

Public Class methods

Get host, port, and no_proxy proxy information for a given host.

Checks $config[‘proxy’], then ENV[‘http_proxy’] / ENV[‘no_proxy’]. Also calls Proxy::find_win32_proxy if we’re in Windows.

Example:

  Proxy::find_proxy #=> {"host"=>"proxy", "port"=>3128}

Find a proxy in Windows by checking the registry.

Example:

  Proxy::find_win32_proxy #=> {"host"=>"proxy", "port"=>3128}

[Validate]