From 6a37e4426e686028c38d5e915d91e587c5966804 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 24 Apr 2020 23:29:14 +0200 Subject: BREAKING CHANGE: rename TLS APIs to camel case (#4888) This commit renames all APIs containing "TLS" to use camel case (connectTLS -> connectTls, etc.) --- std/ws/mod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/ws') 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); } -- cgit v1.2.3