mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
bdffcb409f
This is a rewrite of the `Deno.serve` API to live on top of hyper 1.0-rc3. The code should be more maintainable long-term, and avoids some of the slower mpsc patterns that made the older code less efficient than it could have been. Missing features: - `upgradeHttp` and `upgradeHttpRaw` (`upgradeWebSocket` is available, however). - Automatic compression is unavailable on responses. |
||
---|---|---|
.. | ||
01_websocket.js | ||
02_websocketstream.js | ||
Cargo.toml | ||
lib.deno_websocket.d.ts | ||
lib.rs | ||
README.md | ||
stream.rs |
deno_websocket
This op crate implements the websocket functions of Deno.
Spec: https://html.spec.whatwg.org/multipage/web-sockets.html