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

This commit is contained in:
GoEdgeLab
2023-01-09 12:36:33 +08:00
parent 6e852a167a
commit 24bf452ea5
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)
}