Skip to content

Commit

Permalink
add depreciation notice
Browse files Browse the repository at this point in the history
  • Loading branch information
aspriddell committed Sep 8, 2021
1 parent aa5fd82 commit 5a6bca0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DragonFruit.Common.Data/Utils/SerializerUtils.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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);
Expand Down

0 comments on commit 5a6bca0

Please sign in to comment.