diff options
author | Ch3ri0ur <22932267+Ch3ri0ur@users.noreply.github.com> | 2020-06-09 21:08:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-09 15:08:38 -0400 |
commit | bad6f2b224a92e3bf5cdaf5f8cbc700cb0f9de04 (patch) | |
tree | 1eaa79ba09c5e2767fd679bcaef119f0c01e0100 /std/ws/README.md | |
parent | 8366f36873bb7311f533e5e49d9ad13581b0b5c1 (diff) |
Readme cleanup in encoding and ws (#6209)
Diffstat (limited to 'std/ws/README.md')
-rw-r--r-- | std/ws/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/ws/README.md b/std/ws/README.md index 0c3b7a2a2..d719f22a9 100644 --- a/std/ws/README.md +++ b/std/ws/README.md @@ -8,13 +8,13 @@ ws module is made to provide helpers to create WebSocket client/server. ```ts // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { serve } from "../../http/server.ts"; +import { serve } from "https://deno.land/std/http/server.ts"; import { acceptWebSocket, isWebSocketCloseEvent, isWebSocketPingEvent, WebSocket, -} from "../../ws/mod.ts"; +} from "https://deno.land/std/ws/mod.ts"; async function handleWs(sock: WebSocket) { console.log("socket connected!"); |