optimize web socket interface, add some test case for ws

This commit is contained in:
OttoMao
2015-04-27 16:23:12 +08:00
parent 8e7aef70ae
commit f98721c482
8 changed files with 91 additions and 70 deletions

5
test/test.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
echo "nodeunit is required to run these test cases"
node -v
nodeunit test.js