move more websocket logic into base classes
This commit is contained in:
parent
57c0d229f1
commit
fb675e59ff
7 changed files with 89 additions and 123 deletions
|
@ -13,7 +13,7 @@ internal sealed class ControlsServer(
|
|||
var clientLogger = loggerFactory.CreateLogger<ControlsServerConnection>();
|
||||
var sock = new ControlsServerConnection(ws, clientLogger, player);
|
||||
await AddConnection(sock);
|
||||
await sock.Done;
|
||||
await sock.ReceiveAsync();
|
||||
await RemoveConnection(sock);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue