proxy-chain
proxy-chain copied to clipboard
Use ws instead of faye-websocket for websocket tests
Currently we have both libraries in our devDependencies. Let's migrate out tests to use ws fully instead of faye-websocket.
Why it makes sense:
-
wsis de-facto a standard websocket library for Node -
wshas better maintainability (faye-websocketgot last commit 2 years ago) -
wshas betterwsssupport, because of it it's already imported intest/tls_overhead_stats.js - no new need to introduce new dependency
Nish says that Node.js now has a native Websocket client.