【不能用】继续改联网,实现并替换一些发送ws请求的方法

框架跟进
This commit is contained in:
MrZ_26
2022-09-29 02:41:00 +08:00
parent 9ccc019bb9
commit f3face791f
9 changed files with 230 additions and 194 deletions

View File

@@ -178,6 +178,7 @@ Z.setOnFnKeys({
function()for k,v in next,_G do print(k,v)end end,
function()if love['_openConsole']then love['_openConsole']()end end,
})
Z.setVersionText(VERSION.string)
Z.setDebugInfo{
{"Cache",gcinfo},
{"Tasks",TASK.getCount},
@@ -691,6 +692,6 @@ if TABLE.find(arg,'--test')then
love.event.quit(1)
end)
end
WS.switchHost('cafuuchino1.3322.org','10026','/tech/socket/v1')
WS.switchHost('cafuuchino1.3322.org','10026','/techmino/ws/v1')
HTTP.setHost("cafuuchino1.3322.org:10026")
HTTP.setThreadCount(1)