

router var W3CWebSocket = require ( 'websocket' ). frame var WebSocketRouter = require ( 'websocket' ). client var WebSocketFrame = require ( 'websocket' ). server var WebSocketClient = require ( 'websocket' ). Var WebSocketServer = require ( 'websocket' ).
#Nodejs websocket install
In your project root: $ npm install websocket The very complete Autobahn Test Suite is used by most WebSocket implementations to test spec compliance and interoperability. Anyone up for running new benchmarks? I'll link to your report.) Autobahn Tests (These benchmarks are quite a bit outdated at this point, so take them with a grain of salt.

I've put up a benchmark page that shows the results from the Autobahn tests run against AutobahnServer 0.4.10, WebSocket-Node 1.0.2, WebSocket-Node 1.0.4, and ws 0.3.4. There are some basic benchmarking sections in the Autobahn test suite. Internet Explorer 10+ (Protocol Version 13).Chrome 14,15 (Old) (Protocol Version 8).Resolves #415Īll current browsers are fully supported. Updated browser shim to use the native globalThis property when available.You can read the full API documentation in the docs folder. There are some example client and server applications that implement various interoperability testing protocols in the "test/scripts" folder. This is a (mostly) pure JavaScript implementation of the WebSocket protocol versions 8 and 13 for Node.

WebSocket Client & Server Implementation for Node
