module IO::Endpoint
def self.ssl(*arguments, ssl_context: nil, hostname: nil, **options)
-
(SSLEndpoint)-
Parameters:
-
options() -- keyword arguments passed through to {Endpoint.tcp} -
hostname(String, nil) -- -
ssl_context(OpenSSL::SSL::SSLContext, nil) -- -
arguments() --
def self.ssl(*arguments, ssl_context: nil, hostname: nil, **options) SSLEndpoint.new(self.tcp(*arguments, **options), ssl_context: ssl_context, hostname: hostname) end