改进在自动读超时模式下的Websocket连接

This commit is contained in:
刘祥超
2023-01-09 12:36:33 +08:00
parent a2e6aaaa18
commit 2d4ba90c3b
4 changed files with 24 additions and 3 deletions

View File

@@ -23,4 +23,7 @@ type ClientConnInterface interface {
// UserId 获取当前连接所属服务的用户ID
UserId() int64
// SetIsWebsocket 设置是否为Websocket
SetIsWebsocket(isWebsocket bool)
}