文档找不到更新的
4 回复
服务端配制websoket io.set("transports", [“websocket”]);
客户端用 var socket = io(“ws://localhost:8080”); io(“http://localhost:8080”); io(); firebug里面如终是 GET /socket.io/?EIO=3&transport=polling&t=1423735309098-4 HTTP/1.1" 400
文档找不到更新的
服务端配制websoket io.set("transports", [“websocket”]);
客户端用 var socket = io(“ws://localhost:8080”); io(“http://localhost:8080”); io(); firebug里面如终是 GET /socket.io/?EIO=3&transport=polling&t=1423735309098-4 HTTP/1.1" 400