summaryrefslogtreecommitdiff
path: root/std/ws/example_client.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/ws/example_client.ts')
-rw-r--r--std/ws/example_client.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/ws/example_client.ts b/std/ws/example_client.ts
index e6653362d..3b1c6a33a 100644
--- a/std/ws/example_client.ts
+++ b/std/ws/example_client.ts
@@ -4,7 +4,7 @@ import {
isWebSocketPingEvent,
isWebSocketPongEvent,
} from "../ws/mod.ts";
-import { encode } from "../strings/mod.ts";
+import { encode } from "../encoding/utf8.ts";
import { BufReader } from "../io/bufio.ts";
import { TextProtoReader } from "../textproto/mod.ts";
import { blue, green, red, yellow } from "../fmt/colors.ts";