mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 10:58:35 +08:00
【更新】更新restful
This commit is contained in:
@@ -56,7 +56,7 @@ func (s *System) ServerInfo(request *restful.Request, response *restful.Response
|
||||
})
|
||||
}
|
||||
|
||||
// 连接websocket
|
||||
// ConnectWs 连接websocket
|
||||
func (s *System) ConnectWs(request *restful.Request, response *restful.Response) {
|
||||
wsConn, err := ws.Upgrader.Upgrade(response, request.Request, nil)
|
||||
defer func() {
|
||||
|
||||
Reference in New Issue
Block a user