websocket(url, options) helper | Supported | Async helper resolves when open. |
new WebSocket(url, ...) constructor | Supported | Includes CONNECTING state and standard constants. |
onopen/onmessage/onclose/onerror | Supported | Settable properties with event dispatch ordering by registration time. |
addEventListener/removeEventListener | Supported | Supports function listeners, object listeners, once, and signal. |
| Unknown event names | Supported | Ignored for compatibility with EventTarget behavior. |
send(string | Buffer | ArrayBuffer | ArrayBufferView | Blob) | Supported | Blob is converted to bytes before bridge send. |
binaryType="nodebuffer" | Extension | Node-oriented default for performance and ergonomics. |
binaryType="arraybuffer" | Supported | Standard compatible binary mode. |
binaryType="blob" | Supported | Standard compatible binary mode. |
bufferedAmount | Supported | Best effort byte count based on pending JS side sends. |