From 132650cdf366e676c0ffec0cc68792c45149aacd Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sat, 2 Feb 2019 18:57:38 -0500 Subject: Rename http/http.ts to http/server.ts (denoland/deno_std#170) Remove http/mod.ts Original: https://github.com/denoland/deno_std/commit/e79cb5a31ab3d7667f2253824bf89cecc23ab231 --- ws/mod.ts | 2 +- ws/test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ws') diff --git a/ws/mod.ts b/ws/mod.ts index 348f5df12..ca47bf5b8 100644 --- a/ws/mod.ts +++ b/ws/mod.ts @@ -1,6 +1,6 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { Buffer, Writer, Conn } from "deno"; -import { ServerRequest } from "../http/http.ts"; +import { ServerRequest } from "../http/server.ts"; import { BufReader, BufWriter } from "../io/bufio.ts"; import { readLong, readShort, sliceLongToBytes } from "../io/ioutil.ts"; import { Sha1 } from "./sha1.ts"; diff --git a/ws/test.ts b/ws/test.ts index 67a194639..252d8775b 100644 --- a/ws/test.ts +++ b/ws/test.ts @@ -3,7 +3,7 @@ import { Buffer } from "deno"; import { BufReader } from "../io/bufio.ts"; import { test, assert, assertEqual } from "../testing/mod.ts"; import { createSecAccept, OpCode, readFrame, unmask } from "./mod.ts"; -import { serve } from "../http/http.ts"; +import { serve } from "../http/server.ts"; test(async function testReadUnmaskedTextFrame() { // unmasked single text frame with payload "Hello" -- cgit v1.2.3