instance method
OpenSSL::Buffering#close
() -> void
close
ext/openssl/lib/openssl/buffering.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/ext/openssl/lib/openssl/buffering.rb, line 501
def close
flush rescue nil
sysclose
end
Closes the SSLSocket and flushes any unwritten data.