Class
Attributes
Read
The SNI hostname
Read
The socket address of the server
Read
The port this request is for
Class Methods
lib/webrick/https.rb
View on GitHub
# File tmp/rubies/ruby-2.7.6/lib/webrick/https.rb, line 113
def initialize(sslsocket, hostname)
@host = hostname
@addr = sslsocket.addr
@port = @addr[1]
end
Creates a new SNIRequest
.