squash a bunch of commits
This commit is contained in:
17
Shogi.UI/Pages/Home/Api/IShogiApi.cs
Normal file
17
Shogi.UI/Pages/Home/Api/IShogiApi.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Shogi.Contracts.Api;
|
||||
using Shogi.Contracts.Types;
|
||||
using System.Net;
|
||||
|
||||
namespace Shogi.UI.Pages.Home.Api
|
||||
{
|
||||
public interface IShogiApi
|
||||
{
|
||||
Task<CreateGuestTokenResponse?> GetGuestToken();
|
||||
Task<Session?> GetSession(string name);
|
||||
Task<ReadAllSessionsResponse?> GetSessions();
|
||||
Task<Guid?> GetToken();
|
||||
Task GuestLogout();
|
||||
Task PostMove(string sessionName, Move move);
|
||||
Task<HttpStatusCode> PostSession(string name, bool isPrivate);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user