summaryrefslogtreecommitdiff
path: root/ext/http/lib.rs
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2023-05-16 01:24:41 +0200
committerGitHub <noreply@github.com>2023-05-16 01:24:41 +0200
commit27303ef688ae56008aafab513d84e39096a51e34 (patch)
tree2a8f139b0b96458bf0bbe68c263fdb8c18a7bcea /ext/http/lib.rs
parent1171c549526ba9eaa070f7d02431748f12fddf9d (diff)
refactor(ext/http): simpler ws server in http_next (#19133)
Merges `op_http_upgrade_next` and `op_ws_server_create`, significantly simplifying websocket construction in ext/http (next), and removing one JS -> Rust call. Also WS server now doesn't bypass `HttpPropertyExtractor`.
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 7a1a93f80..1ed1e60b7 100644
--- a/ext/http/lib.rs
+++ b/ext/http/lib.rs
@@ -116,8 +116,8 @@ deno_core::extension!(
http_next::op_http_set_response_header,
http_next::op_http_set_response_headers,
http_next::op_http_track,
+ http_next::op_http_upgrade_websocket_next,
http_next::op_http_upgrade_raw,
- http_next::op_http_upgrade_next,
http_next::op_http_wait,
],
esm = ["00_serve.js", "01_http.js"],