mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
feat: stabilize 'alpnProtocols' setting (#19704)
Ref https://github.com/denoland/deno/issues/19685
This commit is contained in:
parent
aaabff710f
commit
39872646eb
4 changed files with 17 additions and 38 deletions
16
ext/net/lib.deno_net.d.ts
vendored
16
ext/net/lib.deno_net.d.ts
vendored
|
@ -161,6 +161,12 @@ declare namespace Deno {
|
|||
keyFile?: string;
|
||||
|
||||
transport?: "tcp";
|
||||
|
||||
/** 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[];
|
||||
}
|
||||
|
||||
/** Listen announces on the local transport address over TLS (transport layer
|
||||
|
@ -243,6 +249,11 @@ declare namespace Deno {
|
|||
*
|
||||
* Must be in PEM format. */
|
||||
caCerts?: string[];
|
||||
/** 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[];
|
||||
}
|
||||
|
||||
/** Establishes a secure connection over TLS (transport layer security) using
|
||||
|
@ -276,6 +287,11 @@ declare namespace Deno {
|
|||
*
|
||||
* Must be in PEM format. */
|
||||
caCerts?: string[];
|
||||
/** 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[];
|
||||
}
|
||||
|
||||
/** Start TLS handshake from an existing connection using an optional list of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue