socketFn: function(socketUrl) {
     return wsTransport(socketUrl, {
         proxyURL: 'http://10.110.8.42:8080',
         // there's a mistake in transport/ws.js that tries to use both "proxyURL" and "proxyUrl"
         // so just submit both options for now as a temporary workaround.
         proxyUrl: 'http://10.110.8.42:8080'
     });
 }
示例#2
0
文件: index.js 项目: polhedel/MyBotv2
 socketFn: function(socketUrl) {
     return wsTransport(socketUrl, {
         proxyURL: url,
         proxyUrl: url
     });
   }