Moved Requests classes to here. Added some checks to requests.
This commit is contained in:
10
Requests/IRequest.cs
Normal file
10
Requests/IRequest.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user