Class: HTTPX::ProxySSL
- Inherits:
-
Object
- Object
- HTTPX::ProxySSL
- Defined in:
- lib/httpx/plugins/proxy.rb
Instance Method Summary collapse
-
#initialize(tcp, request_uri, options) ⇒ ProxySSL
constructor
A new instance of ProxySSL.
Constructor Details
#initialize(tcp, request_uri, options) ⇒ ProxySSL
Returns a new instance of ProxySSL.
242 243 244 245 246 247 |
# File 'lib/httpx/plugins/proxy.rb', line 242 def initialize(tcp, request_uri, ) @io = tcp.to_io super(request_uri, tcp.addresses, ) @hostname = request_uri.host @state = :connected end |