push my ork

This commit is contained in:
2024-08-15 09:20:20 +02:00
parent decb932a1c
commit 3522aff72c
13 changed files with 100 additions and 118 deletions

View File

@@ -1,9 +1,8 @@
using OwnChar.Api.Packets;
namespace OwnChar.Server.Api.Endpoint;
namespace OwnChar.Server.Api.Endpoint;
public interface IApiBuilder
{
void MapRequest(string pattern, Delegate action);
public IReadOnlyDictionary<ApiMapInfo, Delegate> Handlers { get; }
void Map(string path, Delegate action);
}