1
0
mirror of https://github.com/XTLS/Xray-docs-next.git synced 2025-08-22 19:38:36 +00:00

Update websocket.md

PR: https://github.com/XTLS/Xray-core/pull/4065
This commit is contained in:
hr567 2024-11-26 20:10:35 +08:00 committed by hr567
parent 21f38ce20c
commit c48756a6ed
No known key found for this signature in database

View File

@ -19,7 +19,8 @@ Websocket 会识别 HTTP 请求的 X-Forwarded-For 头来覆写流量的源地
"host": "xray.com",
"headers": {
"key": "value"
}
},
"heartbeatPeriod": 10
}
```
@ -53,6 +54,10 @@ WebSocket 的HTTP请求中所发送的host默认值为空。若服务端值
默认值为空。
> `heartbeatPeriod`: int
指定间隔固定时间发送一个 Ping message 保活连接。不指定或指定为0时不发送 Ping message为当前默认行为。
## Browser Dialer
使用浏览器处理 TLS详见 [Browser Dialer](../features/browser_dialer.md)