refactor and chat base

This commit is contained in:
2023-04-22 12:42:02 +02:00
parent 2c7e7303bc
commit e4769d4b99
11 changed files with 231 additions and 144 deletions

View File

@@ -0,0 +1,15 @@
using System.Net.WebSockets;
namespace MauMau_Server.Websockets;
public class ConnectionInstance
{
public string ConnectionId { get; set; }
public WebSocket Socket { get; set; }
public ConnectionInstance(string connectionId, WebSocket socket)
{
ConnectionId = connectionId;
Socket = socket;
}
}