Added Socket support
This commit is contained in:
11
DiscordBotCore/Interfaces/API/ISocket.cs
Normal file
11
DiscordBotCore/Interfaces/API/ISocket.cs
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user