From 9425dce6dbc3a10bbde963d7a6192884c47185a5 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Fri, 19 Apr 2024 20:02:39 -0600 Subject: refactor(ext/http): extract 02_websocket.ts from 01_http.js (#23460) Landing part of https://github.com/denoland/deno/pull/21903 This will allow us to more easily refactor `serveHttp` to live on top of `serve` by splitting the websocket code out. There's probably a lot more we could do here but this helps. --- ext/http/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/http/lib.rs') diff --git a/ext/http/lib.rs b/ext/http/lib.rs index df31b9c44..6fc7207be 100644 --- a/ext/http/lib.rs +++ b/ext/http/lib.rs @@ -131,7 +131,7 @@ deno_core::extension!( http_next::op_http_close, http_next::op_http_cancel, ], - esm = ["00_serve.js", "01_http.js"], + esm = ["00_serve.js", "01_http.js", "02_websocket.ts"], ); pub enum HttpSocketAddr { -- cgit v1.2.3