-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVlessConfig.cs
More file actions
17 lines (17 loc) · 767 Bytes
/
VlessConfig.cs
File metadata and controls
17 lines (17 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
public class VlessConfig
{
public string UserId { get; set; } = string.Empty;
public string Address { get; set; } = string.Empty;
public int Port { get; set; }
public string Sni { get; set; } = string.Empty;
public string Host { get; set; } = string.Empty;
public string Path { get; set; } = "/vless";
public bool AllowInsecure { get; set; }
public string Security { get; set; } = "tls";
public string PublicKey { get; set; } = string.Empty;
public string ShortId { get; set; } = string.Empty;
public string Fingerprint { get; set; } = "chrome";
public string SpiderX { get; set; } = string.Empty;
public string Flow { get; set; } = string.Empty;
public string Type { get; set; } = "ws"; // "ws" или "grpc"
}