Closed t0chk closed 4 months ago
Fix TypeError: Cannot read properties of undefined (reading 'autoPong') error
if i make an inheriting class like
class AntaresWebsocket extends WebSocket { constructor() { super(null); }
and then
this.wss = new WebSocketServer({ WebSocket: AntaresWebsocket, });
take TypeError after client connection
See https://github.com/websockets/ws/pull/2199 and https://github.com/websockets/ws/issues/2188.
Fix TypeError: Cannot read properties of undefined (reading 'autoPong') error
if i make an inheriting class like
and then
take TypeError after client connection