mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
df76a062fa
No need to go through the async machinery for `send(String | Buffer)` -- we can fire and forget, and then route any send errors into the async call we're already making (`op_ws_next_event`). Early benchmark on MacOS: Before: 155.8k msg/sec After: 166.2k msg/sec (+6.6%) Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> |
||
---|---|---|
.. | ||
autobahn | ||
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