Skip to content
instance method

OpenSSL::SSL::SSLSocket#sysread

(::Integer length, ?::String buffer) -> ::String
ssl.sysread(length) => string
ssl.sysread(length, buffer) => buffer

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

See also #sysclose #sysread_nonblock #stop #syswrite also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0