End of Life Ruby 3.0 has reached end of life and gets no more fixes. 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.0.5/lib/drb/ssl.rb, line 304
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.