Files
MauMau-Server/Websockets/ConnectionInstance.cs
DTieman 1e51defad5
All checks were successful
Build Mau & Deploy Mau / build (push) Successful in 1m13s
Build Mau & Deploy Mau / deploy (push) Has been skipped
Custom names and time in chat
2024-04-20 23:43:07 +02:00

17 lines
411 B
C#

using System.Net.WebSockets;
namespace MauMau_Server.Websockets;
public class ConnectionInstance
{
public string Name { get; set; }
public string ConnectionId { get; set; }
public WebSocket Socket { get; set; }
public ConnectionInstance(string name, string connectionId, WebSocket socket)
{
Name = name;
ConnectionId = connectionId;
Socket = socket;
}
}