Parse vless header type

This commit is contained in:
Keivan-sf committed 2025-07-23 21:00:07 +03:30
1 parent 4c0cddda3f
commit 9b73b4c6ed
2 files changed
+24 -3

No files matched your search

+6 -1
View File
@@ -56,10 +56,15 @@ pub struct RealitySettings {
pub spiderX: String,
}
#[derive(Serialize, Deserialize)]
pub struct TCPHeader {
pub r#type: String,
}
#[allow(non_snake_case)]
#[derive(Serialize, Deserialize)]
pub struct TCPSettings {
pub header: Option<NonHeaderObject>,
pub header: Option<TCPHeader>,
pub acceptProxyProtocol: Option<bool>,
}