Added Socket support

This commit is contained in:
2024-12-18 23:58:13 +02:00
parent 424bf2196f
commit c79c792c43
14 changed files with 251 additions and 11 deletions

View File

@@ -0,0 +1,11 @@
using System.Net.WebSockets;
using System.Threading.Tasks;
using DiscordBotCore.API.Sockets;
namespace DiscordBotCore.Interfaces.API;
internal interface ISocket
{
public string Path { get; }
public Task<SocketResponse> HandleRequest(byte[] request, int count);
}