26 lines
633 B
C#
26 lines
633 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Text.Json.Serialization;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace APIToolkit.Classes
|
|
{
|
|
public record class APIHeaders
|
|
{
|
|
[JsonPropertyName("user-agent")]
|
|
public required string UserAgent { get; set; }
|
|
|
|
[JsonPropertyName("cf-connecting-ip")]
|
|
public required string CfConnectingIp { get; set; }
|
|
|
|
[JsonPropertyName("cf-ipcountry")]
|
|
public required string CfIpCountry { get; set; }
|
|
|
|
[JsonPropertyName("cf-ray")]
|
|
public required string CfRay { get; set; }
|
|
|
|
}
|
|
}
|