Method: OpenSSL::SSL::SSLSocket#sysread

Defined in:
ossl_ssl.c

#sysread(length) ⇒ String #sysread(length, buffer) ⇒ Object

Reads length bytes from the SSL connection. If a pre-allocated buffer is provided the data will be written into it.

Overloads:

  • #sysread(length) ⇒ String

    Returns:

    • (String)
[View source]

2017
2018
2019
2020
2021
# File 'ossl_ssl.c', line 2017

static VALUE
ossl_ssl_read(int argc, VALUE *argv, VALUE self)
{
    return ossl_ssl_read_internal(argc, argv, self, 0);
}