hermes-server/Requests/IRequest.cs

12 lines
273 B
C#
Raw Normal View History

2024-12-27 23:31:36 +00:00
using HermesSocketServer.Models;
namespace HermesSocketServer.Requests
{
public interface IRequest
{
string Name { get; }
string[] RequiredKeys { get; }
2024-12-27 23:31:36 +00:00
Task<RequestResult> Grant(Channel channel, IDictionary<string, object>? data);
}
}