summaryrefslogtreecommitdiff
path: root/ext/http/lib.rs
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2024-04-19 20:02:39 -0600
committerGitHub <noreply@github.com>2024-04-19 20:02:39 -0600
commit9425dce6dbc3a10bbde963d7a6192884c47185a5 (patch)
tree0dd4aeaf3dc3e5403095a5e37750a09adb3599a8 /ext/http/lib.rs
parent79e6751cf753612f99438ee2f158f54a1bf44815 (diff)
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.
Diffstat (limited to 'ext/http/lib.rs')
-rw-r--r--ext/http/lib.rs2
1 files changed, 1 insertions, 1 deletions
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 {