Method: HTTPClient::SSLConfig#ssl_version

Defined in:
lib/httpclient/ssl_config.rb

#ssl_versionObject

Which TLS protocol version (also called method) will be used. Defaults to :auto which means that OpenSSL decides (In my tests this resulted with always the highest available protocol being used). String name of OpenSSL’s SSL version method name: TLSv1_2, TLSv1_1, TLSv1, SSLv2, SSLv23, SSLv3 or :auto (and nil) to allow version negotiation (default). See OpenSSL::SSL::SSLContext::METHODS for a list of available versions in your specific Ruby environment.



44
45
46
# File 'lib/httpclient/ssl_config.rb', line 44

def ssl_version
  @ssl_version
end