Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
[DEPRECATED] A WebSocket server written in low-level node.js, should be 90-100% spec compatible.

This branch is 1 commit ahead, 1 commit behind master

Preparing for node-websocket-protocol / v2.0.00.

DO NOT USE, WAIT FOR v2.0.00, THE SERVER WILL NOT RUN 
WITH THIS CODE AT PRESENT.

Changes:
    - added dependency on "websocket-protocol"
    - added node_modules to .gitignore
    - removed old files that weren't really needed / in use.
    - renamed internal variables in lib/ws/server.js
    - added exports for Connection and Manager to lib/ws/server.js
    - removed old protocol code in lib/ws/connection.js
    - changed internal code for Connections (refactor)
    - changed API for the Connection "message" event, see note#1

Notes:
    1. The API for the Connection "message" event is now:
            connection.on("message", function(type, data) {
              // ...
            });
       
       This change is in order to support the receiving of Binary 
       WebSocket frames. The 'type' argument indicates whether the
       message is a UTF8 string or whether the message is a binary
       message. This in turn changes the data type of the 'data'
       argument between being a String or a Buffer.
latest commit 82217958b8
Micheil Smith authored

README.md

Something went wrong with that request. Please try again.