Added the current connection information test url option

https://github.com/2dust/v2rayN/discussions/7268
This commit is contained in:
2dust
2025-05-11 16:59:00 +08:00
parent 8381fefb78
commit a2cfe6fa51
19 changed files with 139 additions and 25 deletions
+10 -3
View File
@@ -3,10 +3,17 @@ namespace ServiceLib.Models;
internal class IPAPIInfo
{
public string? ip { get; set; }
public string? city { get; set; }
public string? region { get; set; }
public string? region_code { get; set; }
public string? clientIp { get; set; }
public string? ip_addr { get; set; }
public string? query { get; set; }
public string? country { get; set; }
public string? country_name { get; set; }
public string? country_code { get; set; }
public string? countryCode { get; set; }
public LocationInfo? location { get; set; }
}
public class LocationInfo
{
public string? country_code { get; set; }
}