Example #1
0
 public ActionResult <IEnumerable <string> > Get()
 {
     return(db.Keys());
 }
Example #2
0
 public override async Task HandleMessage(object message, ClientSocket socket)
 {
     var rooms = _roomDatabase.Keys();
     await socket.SendMessageAsync(new ListRoomsResponse { Rooms = rooms });
 }
Example #3
0
 public List <string> ListRooms()
 {
     return(_roomDatabase.Keys());
 }