title: How to create/join chat room using ws (Websocket) package in node js
body: <p>I am using <strong>ws</strong> package in server side and I want the client to create/join rooms in server socket. And to remove them from a created room when they are no longer connected.
  PS: I don't want to use socketIo.</p>