Moved Requests classes to here. Added some checks to requests.

This commit is contained in:
Tom
2024-10-20 20:39:13 +00:00
parent a9cdb65895
commit e3c78d96fa
23 changed files with 186 additions and 150 deletions

10
Requests/IRequest.cs Normal file
View File

@@ -0,0 +1,10 @@
namespace HermesSocketServer.Requests
{
public interface IRequest
{
string Name { get; }
string[] RequiredKeys { get; }
Task<RequestResult> Grant(string sender, IDictionary<string, object>? data);
}
}