diff --git a/lib/async/http/endpoint.rb b/lib/async/http/endpoint.rb index 9006a3e..4fba7d7 100644 --- a/lib/async/http/endpoint.rb +++ b/lib/async/http/endpoint.rb @@ -62,7 +62,7 @@ def self.[](url) # @option hostname [String] the hostname to connect to (or bind to), overrides the URL hostname (used for SNI). # @option port [Integer] the port to bind to, overrides the URL port. # @option ssl_context [OpenSSL::SSL::SSLContext] the context to use for TLS. - # @option alpn_protocols [Array] the alpn protocols to negotiate. + # @option alpn_protocols [Array(String)] the alpn protocols to negotiate. def initialize(url, endpoint = nil, **options) super(**options)