End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
OpenSSL::SSL::SSLSocket#sysread
ssl.sysread(length) => string
ssl.sysread(length, buffer) => buffer
ext/openssl/ossl_ssl.c
View on GitHub ↗
static VALUE
ossl_ssl_read(int argc, VALUE *argv, VALUE self)
{
return ossl_ssl_read_internal(argc, argv, self, 0);
}
Reads length bytes from the SSL connection. If a pre-allocated buffer is provided the data will be written into it.