using System; using System.Threading.Tasks; namespace StardewModdingAPI.Web.Framework.Clients.GitHub { /// An HTTP client for fetching metadata from GitHub. internal interface IGitHubClient : IDisposable { /********* ** Methods *********/ /// Get the latest release for a GitHub repository. /// The repository key (like Pathoschild/SMAPI). /// Returns the latest release if found, else null. Task GetLatestReleaseAsync(string repo); } }