Transport: Rename network to method

https://github.com/XTLS/Xray-core/pull/6426#issuecomment-4899048255
This commit is contained in:
Meow
2026-07-11 21:15:51 +08:00
parent ef9691e3e8
commit 3bd509bad9
48 changed files with 99 additions and 99 deletions
+5 -5
View File
@@ -172,7 +172,7 @@
]
},
"streamSettings": {
"network": "tcp",
"method": "tcp",
"security": "tls",
"tlsSettings": {
"alpn": ["http/1.1"],
@@ -249,7 +249,7 @@
]
},
"streamSettings": {
"network": "tcp",
"method": "tcp",
"security": "none",
"tcpSettings": {
"acceptProxyProtocol": true
@@ -280,7 +280,7 @@
"decryption": "none"
},
"streamSettings": {
"network": "ws",
"method": "ws",
"security": "none",
"wsSettings": {
"acceptProxyProtocol": true, // 提醒:若你用 Nginx/Caddy 等反代 WS,需要删掉这行
@@ -307,7 +307,7 @@
]
},
"streamSettings": {
"network": "tcp",
"method": "tcp",
"security": "none",
"tcpSettings": {
"acceptProxyProtocol": true,
@@ -345,7 +345,7 @@
]
},
"streamSettings": {
"network": "ws",
"method": "ws",
"security": "none",
"wsSettings": {
"acceptProxyProtocol": true, // 提醒:若你用 Nginx/Caddy 等反代 WS,需要删掉这行
+2 -2
View File
@@ -117,7 +117,7 @@ acme.sh --install-cert -d example.com --fullchain-file /etc/ssl/xray/cert.pem --
]
},
"streamSettings": {
"network": "tcp",
"method": "tcp",
"security": "tls",
"tlsSettings": {
"alpn": ["h2", "http/1.1"],
@@ -142,7 +142,7 @@ acme.sh --install-cert -d example.com --fullchain-file /etc/ssl/xray/cert.pem --
]
},
"streamSettings": {
"network": "ws",
"method": "ws",
"wsSettings": {
"acceptProxyProtocol": true,
"path": "/vmessws"
+1 -1
View File
@@ -90,7 +90,7 @@
"level": 0
},
"streamSettings": {
"network": "tcp",
"method": "tcp",
"security": "tls",
"tlsSettings": {
"serverName": "a-name.yourdomain.com",