diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-04-24 23:29:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-24 23:29:14 +0200 |
commit | 6a37e4426e686028c38d5e915d91e587c5966804 (patch) | |
tree | c1bedaeb2e6137fc023b6e125a56d4cba848add2 /std/ws/mod.ts | |
parent | 6efdacddf30b5247b66596a44226687ff21a8f80 (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/mod.ts')
-rw-r--r-- | std/ws/mod.ts | 2 |
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); } |