4.1.6 服务器路径值 server_path_value
const io= require('socket.io')();
io.path('/myownpath');
// 客户端
const socket=io({
path:"/myownpath"
})Last updated
Was this helpful?
const io= require('socket.io')();
io.path('/myownpath');
// 客户端
const socket=io({
path:"/myownpath"
})Last updated
Was this helpful?
Was this helpful?