2016-11-01 20 views

回答

0
var ioSocket = io('https://', { 
    'reconnection delay': 2500, 
    'secure':true, // this will make socket.io to respond over https 
    'max reconnection attempts': 10, 
    'reconnection':true 
});