mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
feature(socket) add transports
This commit is contained in:
parent
4330757f93
commit
9ba0fb377e
1 changed files with 8 additions and 0 deletions
|
|
@ -61,6 +61,14 @@
|
|||
lListen.enable('browser client etag');
|
||||
}
|
||||
|
||||
lListen.set('transports', [
|
||||
'websocket',
|
||||
'flashsocket',
|
||||
'htmlfile',
|
||||
'xhr-polling',
|
||||
'jsonp-polling'
|
||||
]);
|
||||
|
||||
lRet = lListen.sockets.on('connection', function (socket){
|
||||
++lConnNum;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue