mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2025-12-16 15:07:53 +00:00
Parse vless header type
This commit is contained in:
@@ -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