Class: HTTPX::ProxySSL
Constant Summary
Constants inherited from SSL
Constants included from Loggable
Instance Attribute Summary
Attributes inherited from TCP
Instance Method Summary collapse
-
#initialize(tcp, request_uri, options) ⇒ ProxySSL
constructor
A new instance of ProxySSL.
Methods inherited from SSL
#close, #connect, #connected?, #inspect, #protocol, #read, #scheme, #write
Methods inherited from TCP
#close, #closed?, #connect, #connected?, #inspect, #protocol, #read, #scheme, #to_io, #write
Methods included from Loggable
Constructor Details
#initialize(tcp, request_uri, options) ⇒ ProxySSL
Returns a new instance of ProxySSL.
114 115 116 117 118 119 |
# File 'lib/httpx/plugins/proxy.rb', line 114 def initialize(tcp, request_uri, ) @io = tcp.to_io super(tcp.ip, tcp.port, ) @hostname = request_uri.host @state = :connected end |