summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/Compression/IGzipHelper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI.Web/Framework/Compression/IGzipHelper.cs')
-rw-r--r--src/SMAPI.Web/Framework/Compression/IGzipHelper.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/SMAPI.Web/Framework/Compression/IGzipHelper.cs b/src/SMAPI.Web/Framework/Compression/IGzipHelper.cs
new file mode 100644
index 00000000..a000865e
--- /dev/null
+++ b/src/SMAPI.Web/Framework/Compression/IGzipHelper.cs
@@ -0,0 +1,17 @@
+namespace StardewModdingAPI.Web.Framework.Compression
+{
+ /// <summary>Handles GZip compression logic.</summary>
+ internal interface IGzipHelper
+ {
+ /*********
+ ** Methods
+ *********/
+ /// <summary>Compress a string.</summary>
+ /// <param name="text">The text to compress.</param>
+ string CompressString(string text);
+
+ /// <summary>Decompress a string.</summary>
+ /// <param name="rawText">The compressed text.</param>
+ string DecompressString(string rawText);
+ }
+}