mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
16 lines
497 B
C#
16 lines
497 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 };
|
|
}
|
|
} |