I want to pass some data from the socket.io middleware to the emitted event. I am extracting some details from the header token provided in the request
middleware
event