ConnectProxy
Based on https://github.com/net-ssh/net-ssh/blob/master/lib/net/ssh/proxy/http.rb
Constructors
Create a new socket factory that tunnels via the given host and port. The +options+ parameter is a hash of additional settings that can be used to tweak this proxy connection. Specifically, the following options are supported:
- :user => the user name to use when authenticating to the proxy
- :password => the password to use when authenticating
Class methods
disable_crl_checks
Sourcepassword
Sourceproxy_uri
Sourceusername
Sourceverify_tls
SourceInstance methods
open(host, port, tls = nil, **connection_options)
Return a new socket connected to the given host and port via the proxy that was requested when the socket factory was instantiated.