diff --git a/.vitepress/config.mts b/.vitepress/config.mts index 8f454c80..3dbb36eb 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -189,6 +189,7 @@ export default defineConfig({ }, { text: "VMess", link: "/config/outbounds/vmess.md" }, { text: "Wireguard", link: "/config/outbounds/wireguard.md" }, + { text: "Hysteria2", link: "/config/outbounds/hysteria2.md" }, ], }, { @@ -205,6 +206,7 @@ export default defineConfig({ { text: "gRPC", link: "/config/transports/grpc.md" }, { text: "WebSocket", link: "/config/transports/websocket.md" }, { text: "HTTPUpgrade", link: "/config/transports/httpupgrade.md" }, + { text: "Hysteria", link: "/config/transports/hysteria.md" }, ], }, ], diff --git a/docs/config/outbounds/index.md b/docs/config/outbounds/index.md index b7574fe8..15d01844 100644 --- a/docs/config/outbounds/index.md +++ b/docs/config/outbounds/index.md @@ -13,3 +13,4 @@ Xray 支持以下出站协议: - [VLESS (XTLS Vision Seed)](vless.md) - [VMess](vmess.md) - [WireGuard](wireguard.md) +- [Hysteria2](hysteria2.md) \ No newline at end of file diff --git a/docs/config/transport.md b/docs/config/transport.md index 665d10e8..20961727 100644 --- a/docs/config/transport.md +++ b/docs/config/transport.md @@ -41,7 +41,7 @@ } ``` -> `network`: "raw" | "xhttp" | "kcp" | "grpc" | "ws" | "httpupgrade" +> `network`: "raw" | "xhttp" | "kcp" | "grpc" | "ws" | "httpupgrade" | "hysteria" 连接的数据流所使用的传输方式类型,默认值为 `"raw"`。 @@ -94,6 +94,10 @@ Reality 是目前最安全的传输加密方案, 且外部看来流量类型和 当前连接的 HTTPUpgrade 配置,仅当此连接使用 HTTPUpgrade 时有效。 +> `hysteriaSettings`: [HysteriaObject](./transports/hysteria.md) + +当前连接的 Hysteria 配置,仅当此连接使用 Hysteria 时有效。 + > `sockopt`: [SockoptObject](#sockoptobject) 透明代理相关的具体配置。 diff --git a/docs/config/transports/index.md b/docs/config/transports/index.md index 234e1e10..c67b704d 100644 --- a/docs/config/transports/index.md +++ b/docs/config/transports/index.md @@ -8,3 +8,4 @@ Xray 支持以下传输层: - [gRPC](grpc.md) - [WebSocket](websocket.md) - [HTTPUpgrade](httpupgrade.md) +- [Hysteria](hysteria.md) \ No newline at end of file