mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2026-11-08 18:38:50 +00:00
Parse vless header type
This commit is contained in:
1 parent
4c0cddda3f
commit
9b73b4c6ed
2 files changed
+24
-3
No files matched your search
@@ -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>,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user