Object
The socket address of the server
The SNI hostname
The port this request is for
Creates a new SNIRequest.
# File webrick/https.rb, line 113 def initialize(sslsocket, hostname) @host = hostname @addr = sslsocket.addr @port = @addr[1] end
This page was generated for Ruby 2.6.2
Ruby-doc.org is a service of James Britt and Neurogami, purveyors of fine dance noise.
Generated with Ruby-doc Rdoc Generator 0.44.2.