From d434a21fe5ab8eaa7b9a5b6b2bb6e5994428af60 Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Mon, 26 Aug 2024 20:04:57 +1200 Subject: [PATCH] Fix type syntax. --- lib/async/http/endpoint.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)