class Proxi::SSLSocketFactory
### SSLSocketFactory
This will set up an encrypted (SSL, https) connection to the target host. This way the proxy server communicates unencrypted locally, but encrypts/decrypts communication with the remote host.
If you want to forward SSL connections as-is, use a ‘TCPSocketFactory`, in that case however you won’t be able to inspect any data passing through, since it will be encrypted.
Public Instance Methods
call()
click to toggle source
Calls superclass method
Proxi::TCPSocketFactory#call
# File lib/proxi/socket_factory.rb, line 29 def call OpenSSL::SSL::SSLSocket.new(super).tap(&:connect) end