diff options
Diffstat (limited to 'cli/js/tls.ts')
-rw-r--r-- | cli/js/tls.ts | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/cli/js/tls.ts b/cli/js/tls.ts index d7d12ac35..3ed70727d 100644 --- a/cli/js/tls.ts +++ b/cli/js/tls.ts @@ -11,9 +11,6 @@ interface ConnectTLSOptions { certFile?: string; } -/** - * Establishes a secure connection over TLS (transport layer security). - */ export async function connectTLS({ port, hostname = "127.0.0.1", @@ -44,19 +41,6 @@ export interface ListenTLSOptions { keyFile: string; } -/** Listen announces on the local transport address over TLS (transport layer security). - * - * @param options - * @param options.port The port to connect to. (Required.) - * @param options.hostname A literal IP address or host name that can be - * resolved to an IP address. If not specified, defaults to 0.0.0.0 - * @param options.certFile Server certificate file - * @param options.keyFile Server public key file - * - * Examples: - * - * Deno.listenTLS({ port: 443, certFile: "./my_server.crt", keyFile: "./my_server.key" }) - */ export function listenTLS({ port, certFile, |