Method: OpenSSL::SSL::SSLSocket#sysread
- Defined in:
- ext/rubysl/openssl/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.
1762 1763 1764 1765 1766 |
# File 'ext/rubysl/openssl/ossl_ssl.c', line 1762
static VALUE
ossl_ssl_read(int argc, VALUE *argv, VALUE self)
{
return ossl_ssl_read_internal(argc, argv, self, 0);
}
|