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.
260 261 262 263 264 265 |
# File 'lib/httpx/plugins/proxy.rb', line 260 def initialize(tcp, request_uri, ) @io = tcp.to_io super(request_uri, tcp.addresses, ) @hostname = request_uri.host @state = :connected end |