Optional ReadonlybufferedOptional ReadonlyprotocolWebSocket subprotocol selected by the server, or an empty string.
ReadonlyreadyOptionaloptions: { once?: boolean }Optionaloptions: { once?: boolean }Optionaloptions: { once?: boolean }Optionalcode: numberOptionalreason: stringOptionalpingNode WebSocket implementations may expose control-frame PING.
OptionalremoveOptional cleanup hook implemented by browser WebSocket and Node ws.
OptionalsendNode adapter hook for the ws.send(data, callback) completion signal.
OptionalterminateNode WebSocket implementations may support immediate termination.
Number of application bytes queued by WHATWG-compatible WebSockets.