class Async::HTTP::URLEndpoint
def ssl_context
def ssl_context @options[:ssl_context] || ::OpenSSL::SSL::SSLContext.new.tap do |context| context.alpn_protocols = @options.fetch(:alpn_protocols, DEFAULT_ALPH_PROTOCOLS) context.set_params end end
def ssl_context @options[:ssl_context] || ::OpenSSL::SSL::SSLContext.new.tap do |context| context.alpn_protocols = @options.fetch(:alpn_protocols, DEFAULT_ALPH_PROTOCOLS) context.set_params end end