summaryrefslogtreecommitdiff
path: root/ext/http/websocket_upgrade.rs
AgeCommit message (Collapse)Author
2023-04-02feat(ext/http): add an op to perform raw HTTP upgrade (#18511)Matt Mastracci
This commit adds new "op_http_upgrade_early", that allows to hijack existing "Deno.HttpConn" acquired from "Deno.serveHttp" API and performing a Websocket upgrade on this connection. This is not a public API and is meant to be used internally in the "ext/node" polyfills for "http" module. --------- Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>