mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2025-12-16 15:07:53 +00:00
Add headers for vless ws
This commit is contained in:
@@ -63,11 +63,17 @@ pub struct TCPSettings {
|
||||
pub acceptProxyProtocol: Option<bool>,
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct HeaderSetting {
|
||||
pub Host: Option<String>,
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct WsSettings {
|
||||
pub path: Option<String>,
|
||||
// Headers map[string]string headers
|
||||
pub headers: Option<HeaderSetting>,
|
||||
pub acceptProxyProtocol: Option<bool>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user