Files
SPT-Server-Build/Core/Servers/Ws/IWebSocketConnectionHandler.cs
T
2025-01-17 18:14:46 +00:00

15 lines
360 B
C#

using System.Net.WebSockets;
using Core.Models.Eft.Ws;
namespace Core.Servers.Ws;
public interface IWebSocketConnectionHandler
{
string GetHookUrl();
string GetSocketId();
Task OnConnection(WebSocket ws, HttpContext context);
bool IsWebSocketConnected(string sessionId);
void SendMessage(string sessionID, WsNotificationEvent output);
}