摘要: 一、node创建web服务器 1、引入系统模块,用于创建网络服务器的模块 const http = require(' http '); 2、创建网络服务器对象 const app = http.createServer(); 3、当客户端有请求来的时候 app.on(' request ', (r 阅读全文
posted @ 2020-07-22 17:27 书爱 阅读(165) 评论(0) 推荐(0) 编辑