Hi. My question is simple. How can I for instance make a route called "/chat", and include socket.io in that chatController? I know how to make the route, but how do I get socket implemented in that controller, and how to I add a query parameter to the connection? Thank you so much.
Hi. My question is simple. How can I for instance make a route called "/chat", and include socket.io in that chatController? I know how to make the route, but how do I get socket implemented in that controller, and how to I add a query parameter to the connection? Thank you so much.