On this page
End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class · Ruby 3.2
OpenSSL::SSL::SSLSocket
< Object
include OpenSSL::Buffering
include OpenSSL::SSL::SocketForwarder
35 instance methods
2 class methods
Class methods 2
Instance methods 35
#accept
#accept_nonblock
#alpn_protocol
#cert
#cipher
#client_ca
#client_cert_cb
#connect
#connect_nonblock
#export_keying_material
#finished_message
#hostname=
#npn_protocol
#peer_cert
#peer_cert_chain
#peer_finished_message
#pending
#post_connection_check
#session
#session=
#session_get_cb
#session_new_cb
#session_reused?
#ssl_version
#state
#stop
#sysclose
#sysread
#sysread_nonblock
#syswrite
#syswrite_nonblock
#tmp_dh_callback
#tmp_key
#using_anon_cipher?
#verify_result
Attributes
Read
The SSLContext object used in this connection.
Read
No documentation available
Read & Write
Whether to close the underlying socket as well, when the SSL/TLS connection is shut down. This defaults to false.