Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js
autoPong
option (01ba54ed).allowMultipleEventsPerMicrotask
option has been renamed to
allowSynchronousEvents
(4ed7fe58).This is a breaking change in a patch release that could have been avoided with an alias, but the renamed option was added only 3 days ago, so hopefully it hasn't already been widely used.
allowMultipleEventsPerMicrotask
option (93e3552e).WebSocket
constructor now accepts HTTP(S) URLs (#2162).socket
argument of server.handleUpgrade()
can now be a generic
Duplex
stream (#2165).finishRequest
option to support late addition of headers (#2123).browser
condition to package.json (#2118).utf-8-validate@6
(ff63bba3).buffer.isUtf8()
is now used instead of utf-8-validate
if available
(42d79f60).WebSocket.prototype.addEventListener()
now supports an event listener
specified as an object with a handleEvent()
method. (9ab743aa).WebSocket.prototype.addEventListener()
now adds an event listener only if it
is not already in the list of the event listeners for the specified event type
(1cec17da).