增加 DisablePing 字段以控制是否发送自定义 Ping

This commit is contained in:
RedwindA
2025-07-18 23:38:35 +08:00
parent 952b679ca3
commit 3ac54b2178
3 changed files with 3 additions and 2 deletions

View File

@@ -88,6 +88,7 @@ type RelayInfo struct {
BaseUrl string
SupportStreamOptions bool
ShouldIncludeUsage bool
DisablePing bool // 是否禁止向下游发送自定义 Ping
IsModelMapped bool
ClientWs *websocket.Conn
TargetWs *websocket.Conn