直接使用http.handler("/", websocket.Handler(ChatroomServer))這種方式會(huì)報(bào)錯(cuò).目前猜測(cè)應(yīng)該是websocket不能和其它的玩...

IP屬地:廣西
直接使用http.handler("/", websocket.Handler(ChatroomServer))這種方式會(huì)報(bào)錯(cuò).目前猜測(cè)應(yīng)該是websocket不能和其它的玩...