Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
OpenSSL::SSL::SSLSocket#syswrite_nonblock
(*untyped) -> untyped
ssl.syswrite_nonblock(string) → Integer
ssl.syswrite_nonblock(string, exception: false) → Integer, :wait_readable, or :wait_writable
ext/openssl/lib/openssl/ssl.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/ext/openssl/lib/openssl/ssl.rb, line 539
def syswrite_nonblock(string, exception: true)
ret = ssl_write(string)
check_nonblock(ret) if exception
ret
end
Writes string to the SSL connection in a non-blocking manner.
See also
#syswrite
#tmp_key
#sysread_nonblock
#using_anon_cipher?
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0