Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

OpenSSL::SSL::SSLSocket#accept

ssl.accept => self

Waits for a SSL/TLS client to initiate a handshake. The handshake may be started after unencrypted data has been sent over the socket.

See also .open #accept_nonblock .new #alpn_protocol also in 4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1