Refactor Transport (#9004)

* Refactor transport

* Rename tcp to raw

* Fix

* Fix

Fix raw http ui

Fill xhttp default mode

Fix share uri

Remove RawHost

Fix singbox tcp http path

Fix vmess share uri

* Tidy Resx

* Fix

* Rename TransportExtra to TransportExtraItem

---------

Co-authored-by: 2dust <31833384+2dust@users.noreply.github.com>
This commit is contained in:
DHR60
2026-04-16 12:21:10 +00:00
committed by GitHub
parent 494b35c1f7
commit 9f0ef36cc0
28 changed files with 1612 additions and 805 deletions
+37 -28
View File
@@ -2670,6 +2670,15 @@ namespace ServiceLib.Resx {
}
}
/// <summary>
/// 查找类似 Camouflage domain 的本地化字符串。
/// </summary>
public static string TbCamouflageDomain {
get {
return ResourceManager.GetString("TbCamouflageDomain", resourceCulture);
}
}
/// <summary>
/// 查找类似 Cancel 的本地化字符串。
/// </summary>
@@ -3087,6 +3096,15 @@ namespace ServiceLib.Resx {
}
}
/// <summary>
/// 查找类似 Host 的本地化字符串。
/// </summary>
public static string TbHost {
get {
return ResourceManager.GetString("TbHost", resourceCulture);
}
}
/// <summary>
/// 查找类似 ICMP routing policy 的本地化字符串。
/// </summary>
@@ -3393,15 +3411,6 @@ namespace ServiceLib.Resx {
}
}
/// <summary>
/// 查找类似 Camouflage domain(host) 的本地化字符串。
/// </summary>
public static string TbRequestHost {
get {
return ResourceManager.GetString("TbRequestHost", resourceCulture);
}
}
/// <summary>
/// 查找类似 Reserved (2,3,4) 的本地化字符串。
/// </summary>
@@ -3772,7 +3781,7 @@ namespace ServiceLib.Resx {
}
/// <summary>
/// 查找类似 This parameter is valid only for tcp/http, ws, gRPC and xhttp 的本地化字符串。
/// 查找类似 This parameter is valid only for raw/http, ws, gRPC and xhttp 的本地化字符串。
/// </summary>
public static string TbSettingsDefUserAgentTips {
get {
@@ -4654,7 +4663,7 @@ namespace ServiceLib.Resx {
}
/// <summary>
/// 查找类似 *Default value tcp 的本地化字符串。
/// 查找类似 *Default value raw 的本地化字符串。
/// </summary>
public static string TipNetwork {
get {
@@ -4681,47 +4690,47 @@ namespace ServiceLib.Resx {
}
/// <summary>
/// 查找类似 *tcp camouflage type 的本地化字符串。
/// 查找类似 raw camouflage type 的本地化字符串。
/// </summary>
public static string TransportHeaderTypeTip1 {
public static string TransportHeaderType1 {
get {
return ResourceManager.GetString("TransportHeaderTypeTip1", resourceCulture);
return ResourceManager.GetString("TransportHeaderType1", resourceCulture);
}
}
/// <summary>
/// 查找类似 *kcp camouflage type 的本地化字符串。
/// 查找类似 kcp camouflage type 的本地化字符串。
/// </summary>
public static string TransportHeaderTypeTip2 {
public static string TransportHeaderType2 {
get {
return ResourceManager.GetString("TransportHeaderTypeTip2", resourceCulture);
return ResourceManager.GetString("TransportHeaderType2", resourceCulture);
}
}
/// <summary>
/// 查找类似 *QUIC camouflage type 的本地化字符串。
/// 查找类似 QUIC camouflage type 的本地化字符串。
/// </summary>
public static string TransportHeaderTypeTip3 {
public static string TransportHeaderType3 {
get {
return ResourceManager.GetString("TransportHeaderTypeTip3", resourceCulture);
return ResourceManager.GetString("TransportHeaderType3", resourceCulture);
}
}
/// <summary>
/// 查找类似 *grpc mode 的本地化字符串。
/// 查找类似 gRPC mode 的本地化字符串。
/// </summary>
public static string TransportHeaderTypeTip4 {
public static string TransportHeaderType4 {
get {
return ResourceManager.GetString("TransportHeaderTypeTip4", resourceCulture);
return ResourceManager.GetString("TransportHeaderType4", resourceCulture);
}
}
/// <summary>
/// 查找类似 *xhttp mode 的本地化字符串。
/// 查找类似 xhttp mode 的本地化字符串。
/// </summary>
public static string TransportHeaderTypeTip5 {
public static string TransportHeaderType5 {
get {
return ResourceManager.GetString("TransportHeaderTypeTip5", resourceCulture);
return ResourceManager.GetString("TransportHeaderType5", resourceCulture);
}
}
@@ -4753,7 +4762,7 @@ namespace ServiceLib.Resx {
}
/// <summary>
/// 查找类似 *grpc service name 的本地化字符串。
/// 查找类似 gRPC service name 的本地化字符串。
/// </summary>
public static string TransportPathTip4 {
get {
@@ -4807,7 +4816,7 @@ namespace ServiceLib.Resx {
}
/// <summary>
/// 查找类似 *grpc Authority 的本地化字符串。
/// 查找类似 gRPC Authority 的本地化字符串。
/// </summary>
public static string TransportRequestHostTip5 {
get {