Closed martin-markovic closed 3 weeks ago
socketIo.js
handleSocketConnection
socketController.js
GET
POST
websocket
connect
disconnect
server.js
socketConfig.js
userSocket.js
url
token
Chat.jsx
socketIo.js
.handleSocketConnection
function insocketController.js
.socketController.js
.GET
andPOST
, transports set towebsocket
and add server logs onconnect
anddisconnect
events inserver.js
.socketConfig.js
module.userSocket.js
hook to handle socket initialization with based on theurl
and usertoken
.Chat.jsx
.