Initial commit

This commit is contained in:
2026-02-16 12:19:45 -05:00
commit 3b8f32c19b
10 changed files with 375 additions and 0 deletions

25
Core/Socket.cs Normal file
View File

@@ -0,0 +1,25 @@
using WebSocketSharp;
namespace PhotonLogger.Core;
public class SocketProvider
{
public static readonly SocketProvider Instance = new();
private readonly WebSocket socket = new("wss://photonlogger.proxnet.dev");
public void Write(string msg)
{
socket.Send(msg);
}
public void Connect()
{
socket.Connect();
}
public void Close()
{
socket.Close();
}
}