using Shogi.Contracts.Api; using Shogi.Contracts.Types; using System.Net; namespace Shogi.UI.Pages.Home.Api; public interface IShogiApi { Task GetSession(string name); Task GetSessionsPlayerCount(); Task GetToken(); Task GuestLogout(); Task PostMove(string sessionName, MovePieceCommand move); Task PostSession(string name, bool isPrivate); }