method

session

ruby latest stable - Class: OpenSSL::SSL::SSLSocket
session()
public

Returns the SSLSession object currently used, or nil if the session is not established.