WIP ws messages, TODO backend receiving frontend messages
This commit is contained in:
@@ -10,7 +10,6 @@ Future<Response> onRequest(RequestContext context, String roomCode) async {
|
||||
|
||||
final handler = webSocketHandler(protocols: ['game.room.v1'], (channel, protocol) async {
|
||||
try {
|
||||
channel.sink.add('test');
|
||||
logger.finest(protocol);
|
||||
final room = await Db.getRoomByCode(roomCode);
|
||||
if (room == null) {
|
||||
|
||||
Reference in New Issue
Block a user