mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2025-12-16 15:07:53 +00:00
Support xhttp
This commit is contained in:
@@ -60,6 +60,15 @@ pub struct KCPSettings {
|
||||
pub seed: Option<String>,
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct XHTTPSettings {
|
||||
pub host: Option<String>,
|
||||
pub path: Option<String>,
|
||||
pub mode: Option<String>,
|
||||
pub extra: Option<serde_json::Value>,
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct RealitySettings {
|
||||
@@ -124,6 +133,7 @@ pub struct StreamSettings {
|
||||
pub grpcSettings: Option<GRPCSettings>,
|
||||
pub quicSettings: Option<QuicSettings>,
|
||||
pub kcpSettings: Option<KCPSettings>,
|
||||
pub xhttpSettings: Option<XHTTPSettings>,
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
|
||||
Reference in New Issue
Block a user