commit changes
This commit is contained in:
25
Classes/JSONClasses.cs
Normal file
25
Classes/JSONClasses.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
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; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user