server.listen(httpServer[, options]);

优质
小牛编辑
129浏览
2023-12-01

和**server.attach(port[, options])**功能相同。