diff --git a/.eslintrc.js b/.eslintrc.js index 619ce5a1377864..6974224e422449 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -360,5 +360,6 @@ module.exports = { WritableStream: 'readable', WritableStreamDefaultWriter: 'readable', WritableStreamDefaultController: 'readable', + WebSocket: 'readable', }, }; diff --git a/doc/api/cli.md b/doc/api/cli.md index f50b22f729c283..f3dd47fa929429 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -725,6 +725,14 @@ added: v12.3.0 Enable experimental WebAssembly module support. +### `--experimental-websocket` + + + +Enable experimental [`WebSocket`][] support. + ### `--force-context-aware` + +> Stability: 1 - Experimental. + +A browser-compatible implementation of [`WebSocket`][]. Enable this API +with the [`--experimental-websocket`][] CLI flag. + ## Class: `WritableStream`