File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 network: grpc
3737 grpc-opts:
3838 grpc-service-name: example
39- # grpc-user-agent:
39+ # grpc-user-agent:
40+ # ping-interval: 0
4041 ```
4142=== "ws"
4243 ```{.yaml linenums="1"}
5354 v2ray-http-upgrade: false
5455 v2ray-http-upgrade-fast-open: false
5556 ```
57+ === "xhttp"
58+ ```{.yaml linenums="1"}
59+ proxies:
60+ - name: "xhttp-opts-example"
61+ type: vless
62+ server: server
63+ port: 443
64+ uuid: uuid
65+ udp: true
66+ tls: true
67+ network: xhttp
68+ alpn:
69+ - h2
70+ # ech-opts: ...
71+ # reality-opts: ...
72+ # skip-cert-verify: false
73+ # fingerprint: ...
74+ # certificate: ...
75+ # private-key: ...
76+ servername: xxx.com
77+ client-fingerprint: chrome
78+ encryption: ""
79+ xhttp-opts:
80+ path: "/"
81+ host: xxx.com
82+ # mode: "stream-one" # Available: "stream-one", "stream-up" or "packet-up"
83+ # headers:
84+ # X-Forwarded-For: ""
85+ # no-grpc-header: false
86+ # x-padding-bytes: "100-1000"
87+ # download-settings:
88+ # ## xhttp part
89+ # path: "/"
90+ # host: xxx.com
91+ # headers:
92+ # X-Forwarded-For: ""
93+ # no-grpc-header: false
94+ # x-padding-bytes: "100-1000"
95+ # ## proxy part
96+ # server: server
97+ # port: 443
98+ # tls: true
99+ # alpn:
100+ # - h2
101+ # ech-opts: ...
102+ # reality-opts: ...
103+ # skip-cert-verify: false
104+ # fingerprint: ...
105+ # certificate: ...
106+ # private-key: ...
107+ # servername: xxx.com
108+ # client-fingerprint: chrome
109+ ```
56110
57111## http-opts
58112
97151
98152gRPC UserAgent
99153
154+ ### grpc-opts.ping-interval
155+
156+ Интервал пульсации gRPC (по умолчанию отключен), единица измерения — секунды.
157+
100158## ws-opts
101159
102160Настройки транспортного уровня ` ws ` , действуют только когда транспортный уровень - ` ws `
@@ -124,3 +182,10 @@ gRPC UserAgent
124182### ws-opts.v2ray-http-upgrade-fast-open
125183
126184Включить fast open для HTTP upgrade
185+
186+ ## xhttp-opts
187+
188+ Параметр транспортного уровня ` xhttp ` вступает в силу только тогда, когда транспортный уровень — ` xhttp ` .
189+
190+ !!! note
191+ VLESS поддерживает только транспортный уровень xhttp; пожалуйста, не используйте его с другими протоколами.
You can’t perform that action at this time.
0 commit comments