Added HttpData record.

This commit is contained in:
Filip Strajnar 2024-06-18 20:10:25 +02:00
parent 20ed3dd6d8
commit 693031b2dd

View file

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DiscordClient.Data
{
/// <summary>
/// This class holds both the HttpResponseMessage
/// and deserialized JSON data.
/// </summary>
public record HttpData<T>(HttpResponseMessage httpResponse, T? deserializedData);
}