Class: HTTPX::ProxySSL
Constant Summary
Constants inherited from SSL
Constants included from Loggable
Instance Attribute Summary
Attributes inherited from SSL
Attributes inherited from TCP
#addresses, #interests, #ip, #port, #state
Instance Method Summary collapse
-
#initialize(tcp, request_uri, options) ⇒ ProxySSL
constructor
A new instance of ProxySSL.
Methods inherited from SSL
#can_verify_peer?, #connect, #connected?, #expired?, #protocol, #session_new_cb, #ssl_session_expired?, #try_ssl_connect, #verify_hostname
Methods inherited from TCP
#add_addresses, #close, #closed?, #connect, #connected?, #expired?, #inspect, #protocol, #read, #socket, #to_io, #write
Methods included from Loggable
Constructor Details
#initialize(tcp, request_uri, options) ⇒ ProxySSL
Returns a new instance of ProxySSL.
290 291 292 293 294 295 |
# File 'lib/httpx/plugins/proxy.rb', line 290 def initialize(tcp, request_uri, ) @io = tcp.to_io super(request_uri, tcp.addresses, ) @hostname = request_uri.host @state = :connected end |