feat(utilities): WS logs
This commit is contained in:
parent
af8396a746
commit
9b79cd1793
1 changed files with 4 additions and 2 deletions
|
|
@ -128,8 +128,10 @@ async function get_all_agents_ids(io, socket) {
|
|||
|
||||
function extractSessionInfo(socket) {
|
||||
if (socket.handshake.query.sessionInfo !== undefined) {
|
||||
console.log("socket.handshake");
|
||||
console.log(socket.handshake);
|
||||
console.log("socket.conn.remoteAddress");
|
||||
console.log(socket.conn.remoteAddress);
|
||||
console.log("socket.handshake.address");
|
||||
console.log(socket.handshake.address);
|
||||
console.log("received headers");
|
||||
console.log(socket.handshake.headers);
|
||||
console.log("received sessionInfo");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue