增加 DisablePing 字段以控制是否发送自定义 Ping
This commit is contained in:
1 parent
af65271804
commit
4d9b5bcf48
3 files changed
+3
-2
No files matched your search
@@ -88,6 +88,7 @@ type RelayInfo struct {
|
||||
BaseUrl string
|
||||
SupportStreamOptions bool
|
||||
ShouldIncludeUsage bool
|
||||
DisablePing bool // 是否禁止向下游发送自定义 Ping
|
||||
IsModelMapped bool
|
||||
ClientWs *websocket.Conn
|
||||
TargetWs *websocket.Conn
|
||||
|
||||
Reference in new issue
Block a user