diff options
author | crowlKats <crowlkats@gmail.com> | 2020-03-13 10:22:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-13 10:22:22 +0100 |
commit | e435c2be158ce8657dbff0664b6db222fe4e586c (patch) | |
tree | b0e72033be2ce51a70fd2c2af23e6da131a642bb /cli/js/tls.ts | |
parent | 3ac642c183981a366e1db565c16b81f864b07ee4 (diff) |
Remove doc strings from cli/js TS files (#4329)
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
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, |