Method: OpenSSL::SSL::SSLSocket#connect
- Defined in:
- ext/rubysl/openssl/ossl_ssl.c
#connect ⇒ self
Initiates an SSL/TLS handshake with a server. The handshake may be started after unencrypted data has been sent over the socket.
1577 1578 1579 1580 1581 1582 1583 |
# File 'ext/rubysl/openssl/ossl_ssl.c', line 1577 static VALUE ossl_ssl_connect(VALUE self) { ossl_ssl_setup(self); return ossl_start_ssl(self, SSL_connect, "SSL_connect", Qfalse); } |