diff --git a/.eslintrc.js b/.eslintrc.js index f46a64bcbf2acd..8b462e0777c5d4 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -361,5 +361,6 @@ module.exports = { WritableStream: 'readable', WritableStreamDefaultWriter: 'readable', WritableStreamDefaultController: 'readable', + WebSocket: 'readable', }, }; diff --git a/doc/api/cli.md b/doc/api/cli.md index 1da38c1739126b..013256d776bac7 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -738,6 +738,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`