method

cipher

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

Returns the cipher suite actually used in the current session, or nil if no session has been established.