From 52680fcdf181cf4eb9892e3bc5d8285d9f6ed205 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Fri, 27 Oct 2023 09:25:07 -0600 Subject: [PATCH] Specify alpn is an array --- index.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.bs b/index.bs index b83098a..51e85fa 100644 --- a/index.bs +++ b/index.bs @@ -330,7 +330,7 @@ At any point during the creation of the {{Socket}} instance, `connect` may throw {{alpn}} member
- The Application-Layer Protocol Negotiation list to send. If the server agrees with one of the protocols specified in this list, it will return the matching protocol in the {{info}} property. May be specified if and only if {{secureTransport}} is `on` or `starttls`. + The Application-Layer Protocol Negotiation list to send, as an array of strings. If the server agrees with one of the protocols specified in this list, it will return the matching protocol in the {{info}} property. May be specified if and only if {{secureTransport}} is `on` or `starttls`.
{{sni}} member