wabbajack/Wabbajack.DTOs/DownloadStates/Http.cs
2021-10-23 10:51:17 -06:00

15 lines
453 B
C#

using System;
using Wabbajack.DTOs.JsonConverters;
namespace Wabbajack.DTOs.DownloadStates;
[JsonAlias("Http")]
[JsonAlias("HttpDownloader")]
[JsonName("HttpDownloader, Wabbajack.Lib")]
public class Http : ADownloadState
{
public Uri Url { get; init; }
public string[] Headers { get; set; } = Array.Empty<string>();
public override string TypeName => "HTTPDownloader+State";
public override object[] PrimaryKey => new object[] {Url};
}