Method: OpenSSL::SSL::SSLSocket#connect
- Defined in:
- 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.
1717 1718 1719 1720 1721 1722 1723 |
# File 'ossl_ssl.c', line 1717
static VALUE
ossl_ssl_connect(VALUE self)
{
ossl_ssl_setup(self);
return ossl_start_ssl(self, SSL_connect, "SSL_connect", Qfalse);
}
|