blob: 630dfb76fe2d3f3783421aa3d038e71ba8b8ac34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
using System;
using System.Threading.Tasks;
namespace StardewModdingAPI.Web.Framework.Clients.Pastebin
{
/// <summary>An API client for Pastebin.</summary>
internal interface IPastebinClient : IDisposable
{
/// <summary>Fetch a saved paste.</summary>
/// <param name="id">The paste ID.</param>
Task<PasteInfo> GetAsync(string id);
/// <summary>Save a paste to Pastebin.</summary>
/// <param name="content">The paste content.</param>
Task<SavePasteResult> PostAsync(string content);
}
}
|