class WEBrick::SNIRequest
Attributes
Public Class Methods
(OpenSSL::SSL::SSLSocket sslsocket, ?String? hostname) → void
Source
# File vendor/bundle/ruby/4.0.0/gems/webrick-1.9.2/lib/webrick/https.rb, line 113 def initialize(sslsocket, hostname) @host = hostname @addr = sslsocket.addr @port = @addr[1] end
Creates a new SNIRequest.