From 39872646eba1160958b6edd042be905b7cf4dd0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 4 Jul 2023 15:28:50 +0200 Subject: feat: stabilize 'alpnProtocols' setting (#19704) Ref https://github.com/denoland/deno/issues/19685 --- cli/tsc/dts/lib.deno.unstable.d.ts | 35 ----------------------------------- 1 file changed, 35 deletions(-) (limited to 'cli/tsc') diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts index 70731fc4e..1aa655646 100644 --- a/cli/tsc/dts/lib.deno.unstable.d.ts +++ b/cli/tsc/dts/lib.deno.unstable.d.ts @@ -1132,13 +1132,6 @@ declare namespace Deno { * PEM formatted (RSA or PKCS8) private key of client certificate. */ privateKey?: string; - /** **UNSTABLE**: New API, yet to be vetted. - * - * Application-Layer Protocol Negotiation (ALPN) protocols supported by - * the client. If not specified, no ALPN extension will be included in the - * TLS handshake. - */ - alpnProtocols?: string[]; } /** **UNSTABLE**: New API, yet to be vetted. @@ -1188,34 +1181,6 @@ declare namespace Deno { */ export function connectTls(options: ConnectTlsOptions): Promise; - /** **UNSTABLE**: New API, yet to be vetted. - * - * @category Network - */ - export interface ListenTlsOptions { - /** **UNSTABLE**: New API, yet to be vetted. - * - * Application-Layer Protocol Negotiation (ALPN) protocols to announce to - * the client. If not specified, no ALPN extension will be included in the - * TLS handshake. - */ - alpnProtocols?: string[]; - } - - /** **UNSTABLE**: New API, yet to be vetted. - * - * @category Network - */ - export interface StartTlsOptions { - /** **UNSTABLE**: New API, yet to be vetted. - * - * Application-Layer Protocol Negotiation (ALPN) protocols to announce to - * the client. If not specified, no ALPN extension will be included in the - * TLS handshake. - */ - alpnProtocols?: string[]; - } - /** **UNSTABLE**: New API, yet to be vetted. * * Acquire an advisory file-system lock for the provided file. -- cgit v1.2.3