summaryrefslogtreecommitdiff
path: root/tools/deno_tcp.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/deno_tcp.ts')
-rw-r--r--tools/deno_tcp.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/deno_tcp.ts b/tools/deno_tcp.ts
index 9a884cb70..068c48a04 100644
--- a/tools/deno_tcp.ts
+++ b/tools/deno_tcp.ts
@@ -8,7 +8,6 @@ const listener = Deno.listen({ hostname, port: Number(port) });
const response = new TextEncoder().encode(
"HTTP/1.1 200 OK\r\nContent-Length: 12\r\n\r\nHello World\n"
);
-
async function handle(conn: Deno.Conn): Promise<void> {
const buffer = new Uint8Array(1024);
try {