Add xhttp extra for xray

https://github.com/XTLS/Xray-core/pull/4000
This commit is contained in:
2dust
2024-11-14 14:37:03 +08:00
parent 59b7daaef5
commit b8a0293b52
15 changed files with 151 additions and 56 deletions
@@ -949,6 +949,10 @@ namespace ServiceLib.Services.CoreConfig
{
xhttpSettings.mode = node.HeaderType;
}
if (Utils.IsNotEmpty(node.Extra))
{
xhttpSettings.extra = JsonUtils.ParseJson(node.Extra);
}
streamSettings.xhttpSettings = xhttpSettings;