Closed crankywilson closed 3 years ago
I modified connect() in WebSocketServer so that it does this: this.emit("connection", ws, req.url); (added the extra param)
this is standard behavior in other webscoket (server) implementations and this data seems completely unreachable in the user code otherwise...
This looks like it's good to close now
I modified connect() in WebSocketServer so that it does this: this.emit("connection", ws, req.url); (added the extra param)
this is standard behavior in other webscoket (server) implementations and this data seems completely unreachable in the user code otherwise...