feature(socket) add minification and gzip

This commit is contained in:
coderaiser 2013-06-30 05:08:18 -04:00
parent e644c25719
commit 6c8d799355
2 changed files with 5 additions and 0 deletions

View file

@ -86,6 +86,8 @@ getJSONfromFileTable.
* feature(socket) add disconect
* feature(socket) add minification and gzip
2012.04.22, v0.2.0

View file

@ -45,6 +45,9 @@
lConnNum = 0;
lListen.set('log level', INFO_LOG_LEVEL);
lListen.set('browser client minification', true);
lListen.set('browser client gzip', true);
lRet = lListen.sockets.on('connection', function (socket){
++lConnNum;
socket.send('{"stdout":"client connected"}');