title: Socketio rooms - how to get list of ALL rooms
body: <p>I'm getting familiar with socket io using <a href="https://flask-socketio.readthedocs.io/en/latest/" rel="nofollow noreferrer">Flask-Socketio</a> library.</p>
  
  <p>I would like to create some kind of chat app/message board. You can create rooms, join rooms and chat with other people in that room.</p>
  
  <p>In order to join an existing room, I would like to get a list of all existing rooms on the server side. So the user can select which room to join, or create a new one.</p>
  
  <p>I've tried <code>flask_socketio.rooms</code>, but this gives me only rooms joined by that user.</p>
  
  <p>Does anyone know how to get a list of <strong>all</strong> existing rooms?</p>
  
  <p>Thanks!</p>