Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
DRb::DRbSSLSocket.new
new(uri, soc, config, is_established)
lib/drb/ssl.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/drb/ssl.rb, line 314
def initialize(uri, soc, config, is_established)
@ssl = is_established ? soc : nil
super(uri, soc.to_io, config)
end
Create a DRb::DRbSSLSocket instance.
uri is the URI we are connected to. soc is the tcp socket we are bound to. config is our configuration. Either a Hash or SSLConfig is_established is a boolean of whether soc is currently established
This is called automatically based on the DRb protocol.