0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-31 09:14:20 -04:00
denoland-deno/op_crates/websocket
Aaron O'Mullan 0260b488fb
core: introduce extensions (#9800)
Extensions allow declarative extensions to "JsRuntime" (ops, state, JS or middleware).

This allows for:
- `op_crates` to be plug-and-play & self-contained, reducing complexity leaked to consumers
- op middleware (like metrics_op) to be opt-in and for new middleware (unstable, tracing,...)
- `MainWorker` and `WebWorker` to be composable, allowing users to extend workers with their ops whilst benefiting from the other infrastructure (inspector, etc...)

In short extensions improve deno's modularity, reducing complexity and leaky abstractions for embedders and the internal codebase.
2021-04-28 18:41:50 +02:00
..
01_websocket.js fix: parse websocket messages correctly (#10318) 2021-04-23 01:31:34 +02:00
Cargo.toml chore: release crates (#10327) 2021-04-23 15:05:12 +02:00
lib.deno_websocket.d.ts chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
lib.rs core: introduce extensions (#9800) 2021-04-28 18:41:50 +02:00
README.md refactor: move WebSocket API to an op_crate (#9026) 2021-01-06 16:57:28 +01:00

deno_websocket

This op crate implements the websocket functions of Deno.

Spec: https://html.spec.whatwg.org/multipage/web-sockets.html