summaryrefslogtreecommitdiff
path: root/std/ws
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-04-24 23:29:14 +0200
committerGitHub <noreply@github.com>2020-04-24 23:29:14 +0200
commit6a37e4426e686028c38d5e915d91e587c5966804 (patch)
treec1bedaeb2e6137fc023b6e125a56d4cba848add2 /std/ws
parent6efdacddf30b5247b66596a44226687ff21a8f80 (diff)
BREAKING CHANGE: rename TLS APIs to camel case (#4888)
This commit renames all APIs containing "TLS" to use camel case (connectTLS -> connectTls, etc.)
Diffstat (limited to 'std/ws')
-rw-r--r--std/ws/mod.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/ws/mod.ts b/std/ws/mod.ts
index bb377ad6e..87084312f 100644
--- a/std/ws/mod.ts
+++ b/std/ws/mod.ts
@@ -527,7 +527,7 @@ export async function connectWebSocket(
conn = await Deno.connect({ hostname, port });
} else if (url.protocol === "https:" || url.protocol === "wss:") {
const port = parseInt(url.port || "443");
- conn = await Deno.connectTLS({ hostname, port });
+ conn = await Deno.connectTls({ hostname, port });
} else {
throw new Error("ws: unsupported protocol: " + url.protocol);
}