diff --git a/DragonFruit.Common.Data/Utils/SerializerUtils.cs b/DragonFruit.Common.Data/Utils/SerializerUtils.cs index f24e896..b211c12 100644 --- a/DragonFruit.Common.Data/Utils/SerializerUtils.cs +++ b/DragonFruit.Common.Data/Utils/SerializerUtils.cs @@ -1,6 +1,7 @@ // DragonFruit.Common Copyright 2021 DragonFruit Network // Licensed under the MIT License. Please refer to the LICENSE file at the root of this project for details +using System; using System.IO; using System.Net.Http; using System.Net.Http.Headers; @@ -10,6 +11,7 @@ namespace DragonFruit.Common.Data.Utils { public static class SerializerUtils { + [Obsolete("Now available as ApiSerializer.GetHttpContent(stream). This will be removed in the future")] public static HttpContent ProcessStream(ISerializer serializer, Stream stream) { stream.Seek(0, SeekOrigin.Begin);