File size: 340 Bytes
8f3f8db
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
// This a Wrapper for the node ws WebSocket implementation to resemble the
// browser WebSocket implementation better. 
var WebSocket = require("./ws/websocket");

class SafeWebSocketClient extends WebSocket {
	constructor(url, protocols) {
		super(url, protocols, { perMessageDeflate: false });
	}
}

module.exports = SafeWebSocketClient;