ChatManager Module const chatManager = new ChatManager(io) Events you can send sendMessage connectToSocket Events you will receive receivedMessage