diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-09-26 21:06:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-26 21:06:59 -0400 |
commit | af18093498c3fca103bd47305e447ddeda40d9a2 (patch) | |
tree | 7ea1a53788aea8eaea3342661e569976f7cf8892 /ws | |
parent | aa21e7bc81909630bec6e3e527e89f3673b75a3c (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.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |