End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
OpenSSL::SSL::SSLSocket#syswrite_nonblock
ssl.syswrite_nonblock(string) => Integer
ext/openssl/ossl_ssl.c
View on GitHub ↗
static VALUE
ossl_ssl_write_nonblock(int argc, VALUE *argv, VALUE self)
{
VALUE str, opts;
rb_scan_args(argc, argv, "1:", &str, &opts);
return ossl_ssl_write_internal(self, str, opts);
}
Writes string to the SSL connection in a non-blocking manner. Raises an SSLError if writing would block.
See also
#syswrite
#tmp_dh_callback
#sysread_nonblock
#tmp_ecdh_callback
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1