2021-07-30 17:14:15 +08:00

5 lines
163 B
Plaintext

WebSocket.prototype.senda = WebSocket.prototype.send;
WebSocket.prototype.send = function (data){
console.info("Hook WebSocket", data);
return this.senda(data)
}