summaryrefslogtreecommitdiff
path: root/ws
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-09-26 21:06:59 -0400
committerGitHub <noreply@github.com>2019-09-26 21:06:59 -0400
commitaf18093498c3fca103bd47305e447ddeda40d9a2 (patch)
tree7ea1a53788aea8eaea3342661e569976f7cf8892 /ws
parentaa21e7bc81909630bec6e3e527e89f3673b75a3c (diff)
Bump v0.19.0 (denoland/deno_std#613)
Original: https://github.com/denoland/deno_std/commit/5d0dd5878e82ab7577356096469a7e280efe8442
Diffstat (limited to 'ws')
-rw-r--r--ws/mod.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/ws/mod.ts b/ws/mod.ts
index ce2b90e3a..316e19abd 100644
--- a/ws/mod.ts
+++ b/ws/mod.ts
@@ -488,7 +488,7 @@ export async function connectWebSocket(
throw new Error("currently https/wss is not supported");
}
}
- const conn = await Deno.dial("tcp", `${hostname}:${port}`);
+ const conn = await Deno.dial({ hostname, port: Number(port) });
const bufWriter = new BufWriter(conn);
const bufReader = new BufReader(conn);
try {