From 8d55d8b6be8731d37ccf6a29127b3a91a8319d0b Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Sat, 10 Apr 2021 22:04:44 +0200 Subject: feat(unstable): ALPN config in listenTls (#10065) This commit adds the ability for users to configure ALPN protocols when calling `Deno.listenTls`. --- runtime/js/40_tls.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime/js') diff --git a/runtime/js/40_tls.js b/runtime/js/40_tls.js index da43afaac..e11754b0d 100644 --- a/runtime/js/40_tls.js +++ b/runtime/js/40_tls.js @@ -51,6 +51,7 @@ keyFile, hostname = "0.0.0.0", transport = "tcp", + alpnProtocols, }) { const res = opListenTls({ port, @@ -58,6 +59,7 @@ keyFile, hostname, transport, + alpnProtocols, }); return new TLSListener(res.rid, res.localAddr); } -- cgit v1.2.3