refactor and chat base
This commit is contained in:
15
Websockets/ConnectionInstance.cs
Normal file
15
Websockets/ConnectionInstance.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user