static public Method

HTTP.new( proxy_host, proxy_port=80, options={} )

Create a new socket factory that tunnels via the given host and port.

Source Code

# File net/ssh/proxy/http.rb, line 34
def initialize( proxy_host, proxy_port=80, options={} )
  @proxy_host = proxy_host
  @proxy_port = proxy_port
  @options = options
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.